diff options
author | Simon L'nu <simon.lnu@gmail.com> | 2012-03-17 20:03:34 -0400 |
---|---|---|
committer | Simon L'nu <simon.lnu@gmail.com> | 2012-03-17 20:03:34 -0400 |
commit | 939c8d3c8d3dce18e136d9ddff5fb93f064c61c3 (patch) | |
tree | 2dafebccd7de10089eef3dd1356a5760a280b590 /boot.php | |
parent | c7759af8c5375d3201b8185b61b6fc6feef98df0 (diff) | |
parent | 26258bca77aa3385dacf36874f7f5603eaef9a6b (diff) | |
download | volse-hubzilla-939c8d3c8d3dce18e136d9ddff5fb93f064c61c3.tar.gz volse-hubzilla-939c8d3c8d3dce18e136d9ddff5fb93f064c61c3.tar.bz2 volse-hubzilla-939c8d3c8d3dce18e136d9ddff5fb93f064c61c3.zip |
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master:
compare ssl_policy precisely in case somebody was bitten by template processor bug
template processor broken with foreach k=>v and k is integer 0
* master:
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |