aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-19 20:16:05 -0700
committerfriendica <info@friendica.com>2013-05-19 20:16:05 -0700
commit1f921a51ae7c2b608e89a238e206ba5539eeb3c4 (patch)
treedf2e61467be22668bb7a3eba3165ca21227a942d /boot.php
parentf9fec7cf8f328f44a5550d50029ad115311eb45a (diff)
downloadvolse-hubzilla-1f921a51ae7c2b608e89a238e206ba5539eeb3c4.tar.gz
volse-hubzilla-1f921a51ae7c2b608e89a238e206ba5539eeb3c4.tar.bz2
volse-hubzilla-1f921a51ae7c2b608e89a238e206ba5539eeb3c4.zip
typo in auto permissions
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index 4e34c6561..9e649ca81 100755
--- a/boot.php
+++ b/boot.php
@@ -721,8 +721,11 @@ class App {
function set_baseurl($url) {
- if(is_array($this->config) && array_key_exists('system',$this->config) &&
- array_key_exists('baseurl',$this->config['system']) && strlen($this->config['system']['baseurl'])) {
+ if(is_array($this->config)
+ && array_key_exists('system',$this->config)
+ && is_array($this->config['system'])
+ && array_key_exists('baseurl',$this->config['system'])
+ && strlen($this->config['system']['baseurl'])) {
$url = $this->config['system']['baseurl'];
}