mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
File handler php notice
This commit is contained in:
@@ -144,7 +144,7 @@ class e_file
|
|||||||
$path = substr($path, 0, -1);
|
$path = substr($path, 0, -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!$handle = opendir($path))
|
if(!is_dir($path) || !$handle = opendir($path))
|
||||||
{
|
{
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user