]> git.mxchange.org Git - friendica.git/commitdiff
added more spaces #3254
authorRoland Haeder <roland@mxchange.org>
Thu, 23 Mar 2017 21:08:33 +0000 (22:08 +0100)
committerRoland Haeder <roland@mxchange.org>
Thu, 23 Mar 2017 21:09:15 +0000 (22:09 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
boot.php

index e660cb3ede90ad94d2c9944fa6d7c3fbe92a3755..a3f25d059f3a35783383ded5db6c8aac6b38ba69 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -896,8 +896,8 @@ class App {
        }
 
        function get_hostname() {
-               if (get_config('config','hostname') != "") {
-                       $this->hostname = get_config('config','hostname');
+               if (get_config('config', 'hostname') != "") {
+                       $this->hostname = get_config('config', 'hostname');
                }
 
                return $this->hostname;
@@ -908,7 +908,7 @@ class App {
        }
 
        function set_path($p) {
-               $this->path = trim(trim($p),'/');
+               $this->path = trim(trim($p), '/');
        }
 
        function get_path() {
@@ -943,8 +943,8 @@ class App {
 
                // compose the page title from the sitename and the
                // current module called
-               if (!$this->module=='') {
-                       $this->page['title'] = $this->config['sitename'].' ('.$this->module.')';
+               if (!$this->module == '') {
+                   $this->page['title'] = $this->config['sitename'] . ' (' . $this->module . ')';
                } else {
                        $this->page['title'] = $this->config['sitename'];
                }