aboutsummaryrefslogtreecommitdiff
path: root/pages/room.php
diff options
context:
space:
mode:
authorMaZderMind2015-03-01 16:46:04 +0100
committerMaZderMind2015-03-01 16:46:04 +0100
commit04161beec52277d13e752c9ca995c03c6f26cc8b (patch)
tree37480465cc8216b0bfbbaba748599dd0a29e968b /pages/room.php
parent9670e42803af9850e12ced1cb7a32f0671511029 (diff)
404-page
Diffstat (limited to '')
-rw-r--r--pages/room.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/pages/room.php b/pages/room.php
index 18bbe7f..abd764d 100644
--- a/pages/room.php
+++ b/pages/room.php
@@ -7,6 +7,9 @@ $room = $_GET['room'];
$language = $_GET['language'];
$selection = $_GET['selection'];
+if(!has("ROOMS.$room"))
+ return include('404.php');
+
$formats = get("ROOMS.$room.FORMATS");
$has_translation = get("ROOMS.$room.TRANSLATION");