forked from extern/egroupware
WIP of background & logo image upload into instance dir:
- Fix images with spaces in filename do not get loaded
This commit is contained in:
parent
c55e0bdae3
commit
5a2df924eb
@ -41,7 +41,7 @@ class admin_config
|
||||
if ($success)
|
||||
{
|
||||
$response->data(array(
|
||||
'path' => $GLOBALS['egw_info']['server']['webserver_url'].'/api/anon_images.php?src='.$file[$tmp_file[0]]['name']
|
||||
'path' => $GLOBALS['egw_info']['server']['webserver_url'].'/api/anon_images.php?src='.urlencode($file[$tmp_file[0]]['name'])
|
||||
));
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user