aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2011-01-03 10:03:21 +0100
committerfabrixxm <fabrix.xm@gmail.com>2011-01-03 10:03:21 +0100
commit8805635293a6f05fd18fb25f466c5d3d1e33a592 (patch)
tree8711fd910d6a32fc5ce9d6d4bac5e2eb8349c81e /boot.php
parent9ebd34b70398183cf86f095145c7066d8d4bb59e (diff)
downloadvolse-hubzilla-8805635293a6f05fd18fb25f466c5d3d1e33a592.tar.gz
volse-hubzilla-8805635293a6f05fd18fb25f466c5d3d1e33a592.tar.bz2
volse-hubzilla-8805635293a6f05fd18fb25f466c5d3d1e33a592.zip
Add sitename in page title
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index e4a13ce92..ec82b18cd 100644
--- a/boot.php
+++ b/boot.php
@@ -307,6 +307,7 @@ class App {
}
function init_pagehead() {
+ $this->page['title'] = $this->config['sitename'];
$tpl = load_view_file("view/head.tpl");
$this->page['htmlhead'] = replace_macros($tpl,array(
'$baseurl' => $this->get_baseurl() . '/'
@@ -1957,7 +1958,7 @@ function profile_load(&$a, $nickname, $profile = 0) {
$a->profile = $r[0];
- $a->page['title'] = $a->profile['name'];
+ $a->page['title'] = $a->profile['name'] . " @ " . $this->config['sitename'];
$_SESSION['theme'] = $a->profile['theme'];
if(! (x($a->page,'aside')))