summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2021-04-26 12:44:05 +0200
committerJ0WI <J0WI@users.noreply.github.com>2021-04-26 12:44:05 +0200
commita3699330846f8ecb18ab3593884d011b032ae485 (patch)
tree7a2d73deebdaa318baeeb09b412ab4a61be05785 /lib/base.php
parentefc5c57a79a5bad9b91135a436c1eca717082968 (diff)
downloadnextcloud-server-a3699330846f8ecb18ab3593884d011b032ae485.tar.gz
nextcloud-server-a3699330846f8ecb18ab3593884d011b032ae485.zip
Fix ini_set() type
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Diffstat (limited to 'lib/base.php')
-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