diff --git a/set_background.php b/set_background.php index 7cae7c7..a447dca 100644 --- a/set_background.php +++ b/set_background.php @@ -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) {