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
ae0c757ea2
commit
b2d1fa70d2
@ -33,5 +33,8 @@ function vfs_image_dir($vfs_image_dir)
|
|||||||
if ($vfs_image_dir != (string)$GLOBALS['egw_info']['server']['vfs_image_dir'])
|
if ($vfs_image_dir != (string)$GLOBALS['egw_info']['server']['vfs_image_dir'])
|
||||||
{
|
{
|
||||||
common::delete_image_map();
|
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