aboutsummaryrefslogtreecommitdiff
path: root/pages/room.php
diff options
context:
space:
mode:
authorMaZderMind2015-03-02 16:38:50 +0100
committerMaZderMind2015-03-02 16:38:50 +0100
commit40c699e1a307919f65a52632ddf816a735dde8a0 (patch)
treeef0bde4da4ec047f20b8c1c5c4e4fd706a88e696 /pages/room.php
parent583092bff8d82cc5eacd9759f751bbc6e89974cf (diff)
Relive
Diffstat (limited to '')
-rw-r--r--pages/room.php6
1 files changed, 3 insertions, 3 deletions
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;
}