Congrats, you broke the mod page on non-secured servers @jdh8
This commit is contained in:
parent
5a02cd61db
commit
4f070d16e5
@ -150,7 +150,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)
|
||||||
|
Loading…
Reference in New Issue
Block a user