Cleaned the PHP code a little.
This commit is contained in:
parent
77de8e47f2
commit
6886945575
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
function scanAllDir($dir) {
|
||||
$result = [];
|
||||
foreach(scandir($dir) as $filename) {
|
||||
if ($filename[0] === '.') continue;
|
||||
if ($filename[0] == '.') continue;
|
||||
$filePath = $dir . '/' . $filename;
|
||||
if (is_dir($filePath)) {
|
||||
foreach (scanAllDir($filePath) as $childFilename) {
|
||||
|
|
Loading…
Reference in a new issue