added more spaces #3254
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
f85e6d2aac
commit
9521f39ebe
1 changed files with 5 additions and 5 deletions
10
boot.php
10
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'];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue