mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
fixed warning, if session dir is not listable
This commit is contained in:
parent
9eb50fff4a
commit
44ebdd457a
@ -209,7 +209,7 @@
|
||||
$values = array();
|
||||
$maxmatchs = $GLOBALS['egw_info']['user']['preferences']['common']['maxmatchs'];
|
||||
$dir = @opendir($path = ini_get('session.save_path'));
|
||||
if (!$dir) // eg. openbasedir restrictions
|
||||
if (!$dir || !@file_exists($path.'/.')) // eg. openbasedir restrictions, or dir not listable
|
||||
{
|
||||
return $values;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user