aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-05 15:15:47 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-05 15:15:47 +0000
commit0e1ef1156515b7b7b524fa9d676122c93be1e938 (patch)
tree681316925ac71216c9381ee84f9975a9eccec621 /views/default
parent0ae667cf5970d93660b32d38e438f83fb73fdff9 (diff)
downloadelgg-0e1ef1156515b7b7b524fa9d676122c93be1e938.tar.gz
elgg-0e1ef1156515b7b7b524fa9d676122c93be1e938.tar.bz2
Further cleanup
git-svn-id: https://code.elgg.org/elgg/trunk@806 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/pageshells/pageshell.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/pageshells/pageshell.php b/views/default/pageshells/pageshell.php
index c1287a51e..8af62e50e 100644
--- a/views/default/pageshells/pageshell.php
+++ b/views/default/pageshells/pageshell.php
@@ -19,11 +19,11 @@
// Set title
if (empty($vars['title'])) {
- $title = $vars['sitename'];
- } else if (empty($vars['sitename'])) {
+ $title = $vars['config']->sitename;
+ } else if (empty($vars['config']->sitename)) {
$title = $vars['title'];
} else {
- $title = $vars['sitename'] . ": " . $vars['title'];
+ $title = $vars['config']->sitename . ": " . $vars['title'];
}
?>