aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-30 18:25:41 -0800
committerFriendika <info@friendika.com>2011-01-30 18:25:41 -0800
commita598f17e6d95d8a82df2994d61bfab74271dfe58 (patch)
treeb9bd722183863bac952c870fe4bc554da55bb1bc /boot.php
parente8d52d879baf6a35de335cb2ef6a2fb0a5eb8b3e (diff)
downloadvolse-hubzilla-a598f17e6d95d8a82df2994d61bfab74271dfe58.tar.gz
volse-hubzilla-a598f17e6d95d8a82df2994d61bfab74271dfe58.tar.bz2
volse-hubzilla-a598f17e6d95d8a82df2994d61bfab74271dfe58.zip
wrong ref in ssl policy
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index bb7819fde..6b4fa080e 100644
--- a/boot.php
+++ b/boot.php
@@ -283,9 +283,9 @@ class App {
$scheme = $this->scheme;
- if(($ssl) || ($a->config['ssl_policy'] == SSL_POLICY_FULL))
+ if(($ssl) || ($this->config['ssl_policy'] == SSL_POLICY_FULL))
$scheme = 'https';
- if(($a->config['ssl_policy'] == SSL_POLICY_SELFSIGN) && (local_user() || x($_POST,'auth-params')))
+ if(($this->config['ssl_policy'] == SSL_POLICY_SELFSIGN) && (local_user() || x($_POST,'auth-params')))
$scheme = 'https';
$this->baseurl = $scheme . "://" . $this->hostname . ((isset($this->path) && strlen($this->path)) ? '/' . $this->path : '' );