From 4afc7dd0bd194fe1cf467cdec6cf828587a9dc59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Tue, 14 Mar 2017 23:32:57 +0100 Subject: [PATCH] Trying fix for get_values --- index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 6d73efb4..cc36a45d 100644 --- a/index.php +++ b/index.php @@ -1,8 +1,9 @@ 0 || $_SERVER['REQUEST_URI'] == "/?"){header('Location: /'); exit;} $list = explode("/", htmlspecialchars(strtolower($_SERVER["REQUEST_URI"]))); if($list[1]==""||!isset($list[1])||count($list)<=1){$list="";include('public/php/frontpage.php');die();} else{$list=preg_replace("/[^A-Za-z0-9 ]/", '', $list[1]);include('public/php/channel.php');die();}