Continued:
[core.git] / framework / main / classes / commands / html / class_HtmlRegisterCommand.php
index 5fa9543f90ebedc7244ce05f4f6127f70bf65da1..98bd6edce4386dd2ae72b0a5d1c61362135d3994 100644 (file)
@@ -71,10 +71,10 @@ class HtmlRegisterCommand extends BaseCommand implements Commandable {
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Set request instance as extra instance
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Set request instance as extra instance
-               Registry::getRegistry()->addInstance('extra', $this);
+               GenericRegistry::getRegistry()->addInstance('extra', $this);
 
                // Get the application instance
 
                // Get the application instance
-               $applicationInstance = GenericRegistry::getRegistry()->getInstance('app');
+               $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
 
                // Prepare a template instance
                $templateInstance = $this->prepareTemplateInstance($applicationInstance);
 
                // Prepare a template instance
                $templateInstance = $this->prepareTemplateInstance($applicationInstance);