diff options
Diffstat (limited to 'views/default/pageshell.php')
-rw-r--r-- | views/default/pageshell.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/pageshell.php b/views/default/pageshell.php index 002f41e9b..33ca0cbd0 100644 --- a/views/default/pageshell.php +++ b/views/default/pageshell.php @@ -20,11 +20,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'];
}
?>
|