1
0
Fork 0

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

View file

@ -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'];
}