aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-17 02:36:59 -0700
committerfriendica <info@friendica.com>2012-03-17 02:36:59 -0700
commit26258bca77aa3385dacf36874f7f5603eaef9a6b (patch)
tree2dafebccd7de10089eef3dd1356a5760a280b590 /boot.php
parente0e008fb8d894c7fe56fbb88fa96224c0796ea75 (diff)
downloadvolse-hubzilla-26258bca77aa3385dacf36874f7f5603eaef9a6b.tar.gz
volse-hubzilla-26258bca77aa3385dacf36874f7f5603eaef9a6b.tar.bz2
volse-hubzilla-26258bca77aa3385dacf36874f7f5603eaef9a6b.zip
compare ssl_policy precisely in case somebody was bitten by template processor bug
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 836900fc4..b0a631170 100755
--- a/boot.php
+++ b/boot.php
@@ -385,7 +385,7 @@ class App {
$scheme = $this->scheme;
if((x($this->config,'system')) && (x($this->config['system'],'ssl_policy'))) {
- if($this->config['system']['ssl_policy'] == SSL_POLICY_FULL)
+ if(intval($this->config['system']['ssl_policy']) === intval(SSL_POLICY_FULL))
$scheme = 'https';
// We need to populate the $ssl flag across the entire program before turning this on.