diff options
Diffstat (limited to 'static/grill.php')
| -rw-r--r-- | static/grill.php | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/static/grill.php b/static/grill.php index 34bdce1..5984b12 100644 --- a/static/grill.php +++ b/static/grill.php @@ -1,16 +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' + '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); + header('Location: '.$images[array_rand($images)], true, 303); } -?> |
