mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
fixed a missing check_access argument
This commit is contained in:
parent
3dddb8d646
commit
2dd64d38ef
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user