From 40c699e1a307919f65a52632ddf816a735dde8a0 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Mon, 2 Mar 2015 16:38:50 +0100 Subject: Relive --- pages/room.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pages/room.php') diff --git a/pages/room.php b/pages/room.php index abd764d..77f4fdf 100644 --- a/pages/room.php +++ b/pages/room.php @@ -8,7 +8,7 @@ $language = $_GET['language']; $selection = $_GET['selection']; if(!has("ROOMS.$room")) - return include('404.php'); + return include('pages/404.php'); $formats = get("ROOMS.$room.FORMATS"); $has_translation = get("ROOMS.$room.TRANSLATION"); @@ -54,7 +54,7 @@ if(!$selection) $selection = $selections[0]; if(!in_array($selection, $selections)) - return include('404.php'); + return include('pages/404.php'); @@ -94,7 +94,7 @@ switch($selection) { if($language == 'translated') { if(!$has_translation) - return include('404.php'); + return include('pages/404.php'); $title = 'Translated '.$title; } -- cgit v1.2.3