Skip to content
Snippets Groups Projects
Commit 94be4c87 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Limit sessions file scan to session files

parent b29efb0e
No related branches found
No related tags found
No related merge requests found
......@@ -462,7 +462,7 @@ function listOfSessions()
$dh = @opendir($sessPath);
while(($file = @readdir($dh)) !== false)
{
if ($file != "." && $file != "..")
if (eregi('^sess_',$file) && $file != "." && $file != "..")
{
$fullpath = $sessPath.$file;
if(! @is_dir($fullpath))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment