Continued:
[core.git] / framework / main / classes / language / class_LanguageSystem.php
index 99df420..6dfbe3b 100644 (file)
@@ -85,7 +85,7 @@ class LanguageSystem extends BaseFrameworkSystem implements ManageableLanguage,
                if (empty($languageBasePath)) {
                        // No, then attempt "auto-dection":
                        // 1) Get application
-                       $applicationInstance = GenericRegistry::getRegistry()->getInstance('app');
+                       $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
 
                        // 2) Try to build it
                        $languageBasePath = sprintf('%s%s/language/',