Cleaned the PHP code a little.

This commit is contained in:
The Wobbler 2024-10-27 14:52:33 +01:00
parent 77de8e47f2
commit 6886945575

View file

@ -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) {