aboutsummaryrefslogtreecommitdiff
path: root/lib/helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/helper.php')
-rw-r--r--lib/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 1dd37ff..c6fd9a9 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -2,7 +2,7 @@
function ssl()
{
- return isset($_SERVER['HTTPS']) && strcmp($_SERVER['HTTPS'], 'on') == 0;
+ return isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on');
}
function proto()