summaryrefslogtreecommitdiff
path: root/bin/backend.php
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-03-16 15:16:59 +0100
committerTheTroll <trolldev@gmail.com>2010-03-16 15:16:59 +0100
commite89fdef6064741bf6d26c11b782c7fecf994caf3 (patch)
tree2d3214ed31948f344ca069fb214c53ce298e3778 /bin/backend.php
parent5400c2d66985a85591b2b78085615cd2826911a4 (diff)
downloadistreamdev-e89fdef6064741bf6d26c11b782c7fecf994caf3.tar.gz
istreamdev-e89fdef6064741bf6d26c11b782c7fecf994caf3.tar.bz2
Function implementation WIP
Diffstat (limited to 'bin/backend.php')
-rw-r--r--bin/backend.php5
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;