close file handler after readdir()

This commit is contained in:
Björn Schießle 2013-02-18 18:16:19 +01:00
parent 96ae110a2c
commit 37352bba96
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ if ($dir) {
); );
} }
} }
closedir($fullpath); closedir($dirContent);
} else { } else {
$dirlisting = false; $dirlisting = false;