From 5704413298c15cb05e0a55dbaff0274da01ef39a Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Fri, 7 Nov 2014 00:11:21 +0100 Subject: program snimation & styling --- lib/program.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/program.php') diff --git a/lib/program.php b/lib/program.php index 900d1d9..9da309b 100644 --- a/lib/program.php +++ b/lib/program.php @@ -6,7 +6,6 @@ function program() if(function_exists('apc_fetch') && $program = apc_fetch($cacheidx)) return $program; - echo 'fresh'; $program = array(); $schedule = simplexml_load_file($GLOBALS['CONFIG']['SCHEDULE']); @@ -95,6 +94,10 @@ function program() $program[$name][] = array( 'special' => 'daychange', 'title' => 'Daychange from Day '.$dayidx.' to '.($dayidx+1), + + 'start' => $dayend, + 'end' => strtotime((string)$schedule->day[$dayidx+1]['start']), + 'duration' => 60*60, ); } } -- cgit v1.2.3