Fix ini_set() type
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
parent
efc5c57a79
commit
a369933084
|
@ -404,7 +404,7 @@ class OC {
|
|||
|
||||
public static function initSession() {
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue