mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
WIP of background & logo image upload into instance dir:
- Change images directory to unknown_images
This commit is contained in:
parent
33bc6f6ce0
commit
cd72062f00
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user