From 68869455754618b8ba7fc40c42d784d7b9433d31 Mon Sep 17 00:00:00 2001 From: EKNr1 Date: Sun, 27 Oct 2024 14:52:33 +0100 Subject: [PATCH] Cleaned the PHP code a little. --- set_background.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {