diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2021-04-28 09:28:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-28 09:28:19 +0200 |
commit | 6a5d89c1ac2e24301b3c7cdc46b7302e26c4d09f (patch) | |
tree | 9bbb31893aef4db98c5729e48ffa444a64621cf8 /lib/base.php | |
parent | a0583771694b80bab067b51fb3dd98a159a2454f (diff) | |
parent | 8323cbb9e5acb72f5127d95b45d80733cda2e6f2 (diff) | |
download | nextcloud-server-6a5d89c1ac2e24301b3c7cdc46b7302e26c4d09f.tar.gz nextcloud-server-6a5d89c1ac2e24301b3c7cdc46b7302e26c4d09f.zip |
Merge pull request #26758 from J0WI/more-strict
Some more strict_types
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index 76d35ba754c..b433806ac38 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 |