aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-27 02:27:36 -0700
committerfriendica <info@friendica.com>2013-08-27 02:27:36 -0700
commit6a2cb837afc41dfe2e535164edb1865d4b0278a4 (patch)
tree63ac63f322ff76b03a973353ad2ff78982443e3e /boot.php
parent31b934eb5e65abc0181918cb21b8e51390966a3d (diff)
downloadvolse-hubzilla-6a2cb837afc41dfe2e535164edb1865d4b0278a4.tar.gz
volse-hubzilla-6a2cb837afc41dfe2e535164edb1865d4b0278a4.tar.bz2
volse-hubzilla-6a2cb837afc41dfe2e535164edb1865d4b0278a4.zip
get rid of ssl_policy - it's implicit in the site url
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php10
1 files changed, 5 insertions, 5 deletions
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;