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();}