summaryrefslogtreecommitdiff
path: root/bg.php
diff options
context:
space:
mode:
Diffstat (limited to 'bg.php')
-rwxr-xr-xbg.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/bg.php b/bg.php
index bb0b9d88..40272a70 100755
--- a/bg.php
+++ b/bg.php
@@ -2,7 +2,7 @@
//renaming to bg.php
$dir = "walls/";
$files = scandir($dir);
-$images = array_diff($files, array('.', '..'));
+$images = array_diff($files, ['.', '..']);
$name = $images[array_rand($images)];
// open the file in a binary mode
$fp = fopen($dir . $name, 'rb');