X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Fcommands%2Fclass_BaseCommand.php;h=12ae3690202b6adf0741dfd8ecce9478275a718a;hp=8417f019398162d076837f3c5f440f8306448979;hb=8d8cf621bd811811cecd83c65a4ab91f27258e79;hpb=39c1aaf705e8e3c274d56ef1fa931a086f729c48 diff --git a/framework/main/classes/commands/class_BaseCommand.php b/framework/main/classes/commands/class_BaseCommand.php index 8417f019..12ae3690 100644 --- a/framework/main/classes/commands/class_BaseCommand.php +++ b/framework/main/classes/commands/class_BaseCommand.php @@ -56,7 +56,7 @@ abstract class BaseCommand extends BaseFrameworkSystem { assert(!$requestInstance->isPostRequestMethod()); // Get the application instance - $applicationInstance = GenericRegistry::getRegistry()->getInstance('app'); + $applicationInstance = GenericRegistry::getRegistry()->getInstance('application'); // Prepare a template instance $templateInstance = $this->prepareTemplateInstance($applicationInstance);