mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:35:12 +00:00
fix settable page titles after Red page re-org long ago.
This commit is contained in:
parent
7e6890832b
commit
6de5adf0ba
1 changed files with 3 additions and 3 deletions
4
boot.php
4
boot.php
|
@ -862,9 +862,9 @@ class App {
|
|||
if($interval < 10000)
|
||||
$interval = 40000;
|
||||
|
||||
if(! x($this->page,'title'))
|
||||
$this->page['title'] = $this->config['system']['sitename'];
|
||||
|
||||
|
||||
/* put the head template at the beginning of page['htmlhead']
|
||||
* since the code added by the modules frequently depends on it
|
||||
* being first
|
||||
|
@ -1445,7 +1445,7 @@ function profile_load(&$a, $nickname, $profile = 0) {
|
|||
$a->profile = $r[0];
|
||||
|
||||
|
||||
$a->page['title'] = $a->profile['channel_name'] . " @ " . $a->config['sitename'];
|
||||
$a->page['title'] = $a->profile['channel_name'] . " - " . $a->profile['channel_address'] . "@" . $a->get_hostname();
|
||||
|
||||
|
||||
$_SESSION['theme'] = $a->profile['channel_theme'];
|
||||
|
|
Loading…
Reference in a new issue