fixed a missing check_access argument

This commit is contained in:
Klaus Leithoff 2008-09-09 06:56:41 +00:00
parent 3dddb8d646
commit 2dd64d38ef

View File

@ -58,7 +58,7 @@ class filemanager_ui
); );
// check if user specified a valid startpath in his prefs --> use it // check if user specified a valid startpath in his prefs --> use it
if (($path = $GLOBALS['egw_info']['user']['preferences']['filemanager']['startfolder']) && if (($path = $GLOBALS['egw_info']['user']['preferences']['filemanager']['startfolder']) &&
$path[0] == '/' && egw_vfs::is_dir($path) && egw_vfs::check_access($path)) $path[0] == '/' && egw_vfs::is_dir($path) && egw_vfs::check_access($path, egw_vfs::READABLE))
{ {
$content['nm']['path'] = $path; $content['nm']['path'] = $path;
} }