mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-24 22:21:34 +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)
|
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;
|
$success = false;
|
||||||
$response = Api\Json\Response::get();
|
$response = Api\Json\Response::get();
|
||||||
if (is_array($file) && is_writable(dirname($files_dir)))
|
if (is_array($file) && is_writable(dirname($files_dir)))
|
||||||
|
Loading…
Reference in New Issue
Block a user