aboutsummaryrefslogtreecommitdiff
path: root/lib/program.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/program.php5
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,
);
}
}