summaryrefslogtreecommitdiff
path: root/c.php
diff options
context:
space:
mode:
Diffstat (limited to 'c.php')
-rwxr-xr-xc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/c.php b/c.php
index 00c23180..4062fdcf 100755
--- a/c.php
+++ b/c.php
@@ -1,7 +1,7 @@
<?php
$dir = "banners/";
$files = scandir($dir);
-$images = array_diff($files, array('.', '..'));
+$images = array_diff($files, ['.', '..']);
$name = $images[array_rand($images)];
$fp = fopen($dir . $name, 'rb');