mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Default app title when SiteConfig object is not present (fixes #7114)
This commit is contained in:
parent
2db0be6cc0
commit
3572b31a94
@ -1207,7 +1207,7 @@ class LeftAndMain extends Controller implements PermissionProvider {
|
||||
*
|
||||
* @var String
|
||||
*/
|
||||
static $application_name = 'SilverStripe CMS';
|
||||
static $application_name = 'SilverStripe';
|
||||
|
||||
/**
|
||||
* @param String $name
|
||||
|
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user