diff options
author | TheTroll <trolldev@gmail.com> | 2010-03-16 15:16:59 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-03-16 15:16:59 +0100 |
commit | e89fdef6064741bf6d26c11b782c7fecf994caf3 (patch) | |
tree | 2d3214ed31948f344ca069fb214c53ce298e3778 /bin/backend.php | |
parent | 5400c2d66985a85591b2b78085615cd2826911a4 (diff) | |
download | istreamdev-e89fdef6064741bf6d26c11b782c7fecf994caf3.tar.gz istreamdev-e89fdef6064741bf6d26c11b782c7fecf994caf3.tar.bz2 |
Function implementation WIP
Diffstat (limited to 'bin/backend.php')
-rw-r--r-- | bin/backend.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/backend.php b/bin/backend.php index 4fd9ba2..631330d 100644 --- a/bin/backend.php +++ b/bin/backend.php @@ -6,6 +6,7 @@ if (file_exists('../config.php')) include ('../config.php'); else include ('../config_default.php'); +include ('./utils.php'); include ('./vdr.php'); $action=$_REQUEST['action']; @@ -22,12 +23,12 @@ switch ($action) break; case ("getFullChanList"): - $tree = file_get_contents("textfiles/getFullChanList.txt"); + $tree = getFullChanList(); print $tree; break; case ("getTvChan"): - $tree = file_get_contents("textfiles/getTvChan.txt"); + $tree = GetTvChan($_REQUEST['cat']); print $tree; break; |