aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-04-15 18:32:02 -0700
committerfriendica <info@friendica.com>2013-04-15 18:32:02 -0700
commit6de5adf0babb488367e3fda0748f5e076fb54fdb (patch)
treeec74dc30d61d4e90740285db486a12a7e69be79d /boot.php
parent7e6890832b15d8417cb812cbaa00d3ed8c954ef0 (diff)
downloadvolse-hubzilla-6de5adf0babb488367e3fda0748f5e076fb54fdb.tar.gz
volse-hubzilla-6de5adf0babb488367e3fda0748f5e076fb54fdb.tar.bz2
volse-hubzilla-6de5adf0babb488367e3fda0748f5e076fb54fdb.zip
fix settable page titles after Red page re-org long ago.
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/boot.php b/boot.php
index 6a4d5934e..3173e1268 100644
--- a/boot.php
+++ b/boot.php
@@ -862,8 +862,8 @@ class App {
if($interval < 10000)
$interval = 40000;
- $this->page['title'] = $this->config['system']['sitename'];
-
+ 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
@@ -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'];