aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-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");