From 5400c2d66985a85591b2b78085615cd2826911a4 Mon Sep 17 00:00:00 2001 From: TheTroll Date: Tue, 16 Mar 2010 13:30:04 +0100 Subject: PHP part WIP --- bin/backend.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'bin/backend.php') diff --git a/bin/backend.php b/bin/backend.php index b2c41b3..4fd9ba2 100644 --- a/bin/backend.php +++ b/bin/backend.php @@ -1,15 +1,23 @@ Date: Tue, 16 Mar 2010 15:16:59 +0100 Subject: Function implementation WIP --- bin/backend.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin/backend.php') 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; -- cgit v1.2.3