diff options
Diffstat (limited to 'views/default/page_elements/header.php')
-rw-r--r-- | views/default/page_elements/header.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/views/default/page_elements/header.php b/views/default/page_elements/header.php index 520471edb..c84647098 100644 --- a/views/default/page_elements/header.php +++ b/views/default/page_elements/header.php @@ -19,12 +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['title'];
+ $title = $vars['config']->sitename . ": " . $vars['title'];
}
?>
|