mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
fixed access to parent dir off session.save_path, which gives errors under open_basedir
This commit is contained in:
parent
6a2718b2ba
commit
af7edc4008
@ -223,7 +223,7 @@
|
|||||||
|
|
||||||
while (($file = readdir($dir)))
|
while (($file = readdir($dir)))
|
||||||
{
|
{
|
||||||
if (filesize($path.'/'.$file) >= $max_session_size) continue;
|
if ($file{0} == '.' || filesize($path.'/'.$file) >= $max_session_size) continue;
|
||||||
|
|
||||||
if (substr($file,0,5) != 'sess_' || $session_cache[$file] === false)
|
if (substr($file,0,5) != 'sess_' || $session_cache[$file] === false)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user