diff --git a/admin/inc/hook_config_validate.inc.php b/admin/inc/hook_config_validate.inc.php index 341fb9e387..01c9e60b36 100644 --- a/admin/inc/hook_config_validate.inc.php +++ b/admin/inc/hook_config_validate.inc.php @@ -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; } } \ No newline at end of file