]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/commands/html/class_HtmlHomeCommand.php
Continued:
[core.git] / framework / main / classes / commands / html / class_HtmlHomeCommand.php
index 91a69c31b9cb34a260f3be62cc942ec1379e9437..5213906da36e7a64e96ba58cefd89dee22cde129 100644 (file)
@@ -3,6 +3,7 @@
 namespace Org\Mxchange\CoreFramework\Command\Guest;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
 use Org\Mxchange\CoreFramework\Command\BaseCommand;
 use Org\Mxchange\CoreFramework\Command\Commandable;
 use Org\Mxchange\CoreFramework\Controller\Controller;
@@ -104,7 +105,7 @@ class HtmlHomeCommand extends BaseCommand implements Commandable {
                $this->getTemplateInstance()->loadCodeTemplate($masterTemplate);
 
                // Set title
-               $this->getTemplateInstance()->assignVariable('title', $this->getLanguageInstance()->getMessage('page_home_title'));
+               $this->getTemplateInstance()->assignVariable('title', FrameworkBootstrap::getLanguageInstance()->getMessage('page_home_title'));
 
                // Construct the menu in every command. We could do this in BaseCommand class. But this means
                // *every* command has a navigation system and that is want we don't want.