From 04161beec52277d13e752c9ca995c03c6f26cc8b Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 1 Mar 2015 16:46:04 +0100 Subject: 404-page --- pages/room.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pages') 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"); -- cgit v1.2.3