From 6a2cb837afc41dfe2e535164edb1865d4b0278a4 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 27 Aug 2013 02:27:36 -0700 Subject: get rid of ssl_policy - it's implicit in the site url --- boot.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 0676c3c95..fc5408887 100755 --- a/boot.php +++ b/boot.php @@ -768,11 +768,11 @@ class App { $scheme = $this->scheme; - if((x($this->config,'system')) && (x($this->config['system'],'ssl_policy'))) { - if(intval($this->config['system']['ssl_policy']) === intval(SSL_POLICY_FULL)) { - $scheme = 'https'; - } - } +// if((x($this->config,'system')) && (x($this->config['system'],'ssl_policy'))) { +// if(intval($this->config['system']['ssl_policy']) === intval(SSL_POLICY_FULL)) { +// $scheme = 'https'; +// } +// } $this->baseurl = $scheme . "://" . $this->hostname . ((isset($this->path) && strlen($this->path)) ? '/' . $this->path : '' ); return $this->baseurl; -- cgit v1.2.3