summaryrefslogtreecommitdiff
path: root/static/grill.php
diff options
context:
space:
mode:
authorPeter Lejeck <peter.lejeck@gmail.com>2013-11-01 01:53:17 +0100
committerPeter Lejeck <peter.lejeck@gmail.com>2013-11-01 01:53:17 +0100
commit687b1be63b80a273af9795baac702c7cb62802ac (patch)
treed13e726c051be66cd310eda777f818f63914b5e2 /static/grill.php
parent893fbf251d75df3f5ac1d02d704eec288de426c9 (diff)
parent72c861f45ff7458698c2016af5982970d7258a05 (diff)
Merge branch 'nuck-dev'
Conflicts: README.md
Diffstat (limited to 'static/grill.php')
-rw-r--r--static/grill.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/static/grill.php b/static/grill.php
new file mode 100644
index 0000000..34bdce1
--- /dev/null
+++ b/static/grill.php
@@ -0,0 +1,16 @@
+<?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);
+}
+?>