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