use bootstrap for file upload, remove iframe for ajax

This commit is contained in:
ProjectPatatoe 2021-03-23 13:30:42 -07:00
commit 49511a8244
9 changed files with 181 additions and 279 deletions

View file

@ -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;