瀏覽代碼

add the module to the page title

tags/3.4.3
Tobias Diekershoff 4 年之前
父節點
當前提交
51d392b97f
共有 1 個文件被更改,包括 8 次插入1 次删除
  1. +8
    -1
      boot.php

+ 8
- 1
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


Loading…
取消
儲存