Commit 9f2595da authored by mbriand's avatar mbriand
Browse files

Miaou ?

parent 30a22ba1
......@@ -311,7 +311,7 @@ class affiche extends stdentity
function check_update($last){
$plages_horaires = array(1=>array(28800, 43200), 2=>array(41400, 50400), 3=>array(43200, 64800), 4=>array(64800, 21600));
eval("\$time=".strftime("%H*3600+%M*60+%S;", strtotime($last) % (60 * 60 * 24)));
eval("\$time=".strftime("%H*3600+%M*60+%S;", strtotime($last)));
$last_plages = array(0);
foreach($plages_horaires as $id => $plage)
if (($time >= $plage[0]) && ($time < $plage[1]))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment