MINOR Default app title when SiteConfig object is not present (fixes #7114)

This commit is contained in:
Ingo Schommer 2012-04-13 16:21:30 +02:00
parent 2db0be6cc0
commit 3572b31a94
2 changed files with 2 additions and 2 deletions

View File

@ -1207,7 +1207,7 @@ class LeftAndMain extends Controller implements PermissionProvider {
*
* @var String
*/
static $application_name = 'SilverStripe CMS';
static $application_name = 'SilverStripe';
/**
* @param String $name

View File

@ -4,7 +4,7 @@
<a href="http://www.silverstripe.org/" target="_blank" title="SilverStripe (Version - $CMSVersion)">
SilverStripe <% if CMSVersion %><abbr class="version">$CMSVersion</abbr><% end_if %>
</a>
<span>$SiteConfig.Title</span>
<span><% if SiteConfig %>$SiteConfig.Title<% else %>$ApplicationName<% end_if %></span>
</div>
<div class="cms-login-status">