summaryrefslogtreecommitdiff
path: root/bin/backend.php
diff options
context:
space:
mode:
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;