added more spaces #3254

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-03-23 22:08:33 +01:00
parent f85e6d2aac
commit 9521f39ebe
No known key found for this signature in database
GPG Key ID: B72F8185C6C7BD78
1 changed files with 5 additions and 5 deletions

View File

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