summaryrefslogtreecommitdiff
path: root/static/grill.php
diff options
context:
space:
mode:
authorEliot Whalan <ewhal@pantsu.cat>2016-06-14 09:02:30 +0200
committerEliot Whalan <ewhal@pantsu.cat>2016-06-14 09:02:30 +0200
commit1ab3c69aa13e7406112a55f83e873bea6b4ea817 (patch)
treecd33108f17af0c8062eefca328b4eff90eba58b3 /static/grill.php
parent3293b44e1e52d09dbafde0f49b11fbe531c0f8c6 (diff)
Revert "Remove now-dead code for kawaii grill images"
This reverts commit 79fbcfb4a236650b2ee48569729947878e997466.
Diffstat (limited to 'static/grill.php')
-rw-r--r--static/grill.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/static/grill.php b/static/grill.php
new file mode 100644
index 0000000..5984b12
--- /dev/null
+++ b/static/grill.php
@@ -0,0 +1,17 @@
+<?php
+
+$images = array(
+ 'img/2.png',
+ 'img/3.png',
+ 'img/4.png',
+ 'img/5.png',
+ 'img/6.png',
+ 'img/7.png',
+ 'img/8.png',
+ 'img/9.png',
+ 'img/10.png',
+);
+
+if (headers_sent() === false) {
+ header('Location: '.$images[array_rand($images)], true, 303);
+}