Merge ../test

This commit is contained in:
8chan 2014-06-10 23:15:29 +00:00
commit 3d30401ff8

View File

@ -160,7 +160,7 @@ function mod_dashboard() {
$latest = false; $latest = false;
} }
setcookie('update', serialize($latest), time() + $config['check_updates_time'], $config['cookies']['jail'] ? $config['cookies']['path'] : '/', null, $_SERVER['HTTPS'], true); setcookie('update', serialize($latest), time() + $config['check_updates_time'], $config['cookies']['jail'] ? $config['cookies']['path'] : '/', null, (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']), true);
} }
if ($latest) if ($latest)