forked from extern/egroupware
Fix bug where old image directory was re-scanned when changing it, instead of the new image directory
This commit is contained in:
parent
37a29dd25d
commit
6b345a6bc5
@ -33,5 +33,8 @@ function vfs_image_dir($vfs_image_dir)
|
||||
if ($vfs_image_dir != (string)$GLOBALS['egw_info']['server']['vfs_image_dir'])
|
||||
{
|
||||
common::delete_image_map();
|
||||
|
||||
// Set the global now, or the old value will get re-loaded
|
||||
$GLOBALS['egw_info']['server']['vfs_image_dir'] = $vfs_image_dir;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user