From: friendica Date: Sat, 17 Mar 2012 09:36:59 +0000 (-0700) Subject: compare ssl_policy precisely in case somebody was bitten by template processor bug X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=26258bca77aa3385dacf36874f7f5603eaef9a6b;p=friendica.git compare ssl_policy precisely in case somebody was bitten by template processor bug --- diff --git a/boot.php b/boot.php index 836900fc4a..b0a6311703 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.