mirror of
https://github.com/danpros/htmly.git
synced 2026-04-20 04:26:22 +05:30
use bootstrap for file upload, remove iframe for ajax
This commit is contained in:
parent
b21e786e77
commit
49511a8244
9 changed files with 181 additions and 279 deletions
|
|
@ -12,7 +12,7 @@ if (config('timezone')) {
|
|||
date_default_timezone_set('Asia/Jakarta');
|
||||
}
|
||||
|
||||
$whitelist = array('jpg', 'jpeg', 'png', 'gif');
|
||||
$whitelist = array('jpg', 'jpeg', 'jfif', 'pjpeg', 'pjp', 'png', 'gif');
|
||||
$name = null;
|
||||
$dir = 'content/images/';
|
||||
$error = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue