added opendir() error handling

This commit is contained in:
following
2013-04-11 20:38:02 +02:00
parent c594dfa443
commit ffc9b68081
3 changed files with 21 additions and 16 deletions

View File

@ -1093,7 +1093,7 @@ function unlinkrecursiv($path)
$notunlinked = 0;
$hDir = opendir($path);
if ($hDir === FALSE)
if ($hDir === false)
++$notunlinked;
else
{