From 8805635293a6f05fd18fb25f466c5d3d1e33a592 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Mon, 3 Jan 2011 10:03:21 +0100 Subject: [PATCH] Add sitename in page title --- boot.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/boot.php b/boot.php index e4a13ce92c..ec82b18cd1 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')))