From cb48ba9b7068302414b18435505a041d22bd9e4b Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 8 Mar 2015 13:42:58 +0100 Subject: Introduce Models abstracting the Config away from Views & Templates --- lib/Exceptions.php | 3 +++ lib/helper.php | 10 ---------- 2 files changed, 3 insertions(+), 10 deletions(-) create mode 100644 lib/Exceptions.php (limited to 'lib') 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'; -- cgit v1.2.3