X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=boot.php;h=fb65eff22c8e4503de21ccdcf2453b2a95671ac9;hb=f44846555a555f9ef97731d8c847e109a54c8224;hp=d4c5ec093a0477656ab2ceb4d449f4f9cd4ef6e9;hpb=e43c7a44472ccdefd01104e8d919a72e10ec77c3;p=friendica.git diff --git a/boot.php b/boot.php index d4c5ec093a..fb65eff22c 100644 --- a/boot.php +++ b/boot.php @@ -737,7 +737,14 @@ if(! class_exists('App')) { if($interval < 10000) $interval = 40000; - $this->page['title'] = $this->config['sitename']; + // compose the page title from the sitename and the + // current module called + if (!$this->module=='') + { + $this->page['title'] = $this->config['sitename'].' ('.$this->module.')'; + } else { + $this->page['title'] = $this->config['sitename']; + } /* put the head template at the beginning of page['htmlhead'] * since the code added by the modules frequently depends on it