]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/response/class_BaseResponse.php
Continued:
[core.git] / framework / main / classes / response / class_BaseResponse.php
index 0c2c8a17e669f0d6028a69b7efcd46e104d3ee84..625c1d95b38f30600c984452bedb7bb86d8a5a1a 100644 (file)
@@ -152,7 +152,7 @@ abstract class BaseResponse extends BaseFrameworkSystem {
         */
        public final function addFatalMessage ($messageId) {
                // Get application instance
-               $applicationInstance = GenericRegistry::getRegistry()->getInstance('app');
+               $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
 
                // Adds the resolved message id to the fatal message list
                $this->addFatalMessagePlain($applicationInstance()->getLanguageInstance()->getMessage($messageId));
@@ -180,7 +180,7 @@ abstract class BaseResponse extends BaseFrameworkSystem {
         */
        public function flushBuffer ($force = false) {
                // Get application instance
-               $applicationInstance = GenericRegistry::getRegistry()->getInstance('app');
+               $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
 
                // Headers already sent?
                if ((headers_sent()) && ($force === false)) {
@@ -243,7 +243,7 @@ abstract class BaseResponse extends BaseFrameworkSystem {
         */
        public function determineDefaultCommand () {
                // Get application instance
-               $applicationInstance = GenericRegistry::getRegistry()->getInstance('app');
+               $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
 
                // Generate config key
                $configKey = sprintf('default_%s_%s_command',