WIP of background & logo image upload into instance dir:

- Change images directory to unknown_images
This commit is contained in:
Hadi Nategh 2017-04-28 10:43:11 +02:00
parent 33bc6f6ce0
commit cd72062f00

View File

@ -28,7 +28,7 @@ class admin_config
*/
function ajax_upload ($file, $dir = null)
{
$files_dir = $dir ? $dir : $GLOBALS['egw_info']['server']['files_dir'].'/images';
$files_dir = $dir ? $dir : $GLOBALS['egw_info']['server']['files_dir'].'/unknown_images';
$success = false;
$response = Api\Json\Response::get();
if (is_array($file) && is_writable(dirname($files_dir)))