diff options
author | MaZderMind | 2015-03-08 13:42:58 +0100 |
---|---|---|
committer | MaZderMind | 2015-03-14 13:46:47 +0100 |
commit | cb48ba9b7068302414b18435505a041d22bd9e4b (patch) | |
tree | 9521126f748b090a65ca9832cb218f71b5213b1b /lib | |
parent | 844a7d53f2d78bafba479c0d931277246ade61de (diff) |
Introduce Models abstracting the Config away from Views & Templates
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Exceptions.php | 3 | ||||
-rw-r--r-- | lib/helper.php | 10 |
2 files changed, 3 insertions, 10 deletions
diff --git a/lib/Exceptions.php b/lib/Exceptions.php new file mode 100644 index 0000000..d5a4600 --- /dev/null +++ b/lib/Exceptions.php @@ -0,0 +1,3 @@ +<?php + +class NotFoundException extends Exception {} diff --git a/lib/helper.php b/lib/helper.php index d23eb35..640651b 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -2,16 +2,6 @@ require_once('program.php'); -function link_index() -{ - return ''; -} - -function link_room($room) -{ - return rawurlencode($room).'/'; -} - function link_player($room, $format = 'video', $translated = false) { $defaultformat = room_has_hd($room) ? 'hd' : 'sd'; |