summaryrefslogtreecommitdiff
path: root/static/php
diff options
context:
space:
mode:
authorMandragorat Wandystanu <wktir@wandystan.eu>2017-11-17 13:09:23 +0100
committerMandragorat Wandystanu <wktir@wandystan.eu>2017-11-17 13:09:23 +0100
commit3e048a0f2a1e04e30dbe0bff63f24684ed470f40 (patch)
treed965b8f12b721f39aab25fbf33f6356da750f202 /static/php
parent585cdd94a1febf9bc70ed5c041d5056edbf09e29 (diff)
Remove grill.php and associated files: your waifu is trash and you should feel bad.
Diffstat (limited to 'static/php')
-rw-r--r--static/php/grill.php19
1 files changed, 0 insertions, 19 deletions
diff --git a/static/php/grill.php b/static/php/grill.php
deleted file mode 100644
index 9b41c7b..0000000
--- a/static/php/grill.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-
-// Array of image paths, feel free to add/remove to/from this list
-$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',
-);
-
-// Redirect to a random image from the above array using status code "303 See Other"
-if (headers_sent() === false) {
- header('Location: '.$images[array_rand($images)], true, 303);
-}