summaryrefslogtreecommitdiff
path: root/app/Core/Session.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-08 16:49:54 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-08 16:49:54 +0200
commitbc0fa40b24f73ccce067f2d23e9aae1335c46694 (patch)
treefbb29773ce539428caed617738db2ccd4bf59df3 /app/Core/Session.php
parent532ea3b8685cb141526fbcd2cd3dd13667452783 (diff)
Fix bug HTTPS detection (issue with IIS)
Diffstat (limited to 'app/Core/Session.php')
-rw-r--r--app/Core/Session.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Core/Session.php b/app/Core/Session.php
index f072350d..4f44e8e0 100644
--- a/app/Core/Session.php
+++ b/app/Core/Session.php
@@ -35,7 +35,7 @@ class Session
self::SESSION_LIFETIME,
$base_path ?: '/',
null,
- ! empty($_SERVER['HTTPS']),
+ Tool::isHTTPS(),
true
);