Fix ini_set() type

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
J0WI 2021-04-26 12:44:05 +02:00
parent efc5c57a79
commit a369933084
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ class OC {
public static function initSession() { public static function initSession() {
if (self::$server->getRequest()->getServerProtocol() === 'https') { if (self::$server->getRequest()->getServerProtocol() === 'https') {
ini_set('session.cookie_secure', true); ini_set('session.cookie_secure', 'true');
} }
// prevents javascript from accessing php session cookies // prevents javascript from accessing php session cookies