More changes to the UI, more API...
This commit is contained in:
@@ -13,7 +13,7 @@ elseif (isset($_SERVER['HTTPS'])) {
|
||||
else {
|
||||
$IS_HTTPS = false;
|
||||
}
|
||||
session_set_cookie_params($GLOBALS['SESSION_LIFETIME'], '/', '', $IS_HTTPS, true);
|
||||
session_set_cookie_params($SESSION_LIFETIME, '/', '', $IS_HTTPS, true);
|
||||
session_start();
|
||||
if (!isset($_SESSION['CSRF']['TOKEN'])) {
|
||||
$_SESSION['CSRF']['TOKEN'] = bin2hex(random_bytes(32));
|
||||
|
Reference in New Issue
Block a user