summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 7e3f6d9567b..9575f396265 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -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