]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/commands/html/class_HtmlRegisterCommand.php
Continued:
[core.git] / framework / main / classes / commands / html / class_HtmlRegisterCommand.php
index 5fa9543f90ebedc7244ce05f4f6127f70bf65da1..18e7155f469d2f08b94a217e0030fd490ff46407 100644 (file)
@@ -71,16 +71,16 @@ class HtmlRegisterCommand extends BaseCommand implements Commandable {
         */
        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
-               $applicationInstance = GenericRegistry::getRegistry()->getInstance('app');
+               $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
 
                // Prepare a template instance
                $templateInstance = $this->prepareTemplateInstance($applicationInstance);
 
                // Assign all the application's data with template variables
-               $templateInstance->assignApplicationData($applicationInstance);
+               $templateInstance->assignApplicationData();
 
                // Assign base URL
                $templateInstance->assignConfigVariable('base_url');