diff options
author | MaZderMind | 2015-03-01 16:46:04 +0100 |
---|---|---|
committer | MaZderMind | 2015-03-01 16:46:04 +0100 |
commit | 04161beec52277d13e752c9ca995c03c6f26cc8b (patch) | |
tree | 37480465cc8216b0bfbbaba748599dd0a29e968b /pages | |
parent | 9670e42803af9850e12ced1cb7a32f0671511029 (diff) |
404-page
Diffstat (limited to '')
-rw-r--r-- | pages/room.php | 3 |
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"); |