1
0
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:
secretr
2011-04-27 07:41:31 +00:00
parent cd47842800
commit 6d5281b19a

View File

@@ -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;
}