diff options
author | MaZderMind | 2014-11-07 00:11:21 +0100 |
---|---|---|
committer | MaZderMind | 2014-11-07 00:17:40 +0100 |
commit | 5704413298c15cb05e0a55dbaff0274da01ef39a (patch) | |
tree | 9ac56ca3b268319cb41505ff833bf91735d606d8 /lib/program.php | |
parent | db0a85ea97096af4529b0ea3b903d182144c1310 (diff) |
program snimation & styling
Diffstat (limited to 'lib/program.php')
-rw-r--r-- | lib/program.php | 5 |
1 files changed, 4 insertions, 1 deletions
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, ); } } |