Continued:
[core.git] / framework / main / classes / language / class_LanguageSystem.php
index 99df420951bee5bbac8c46b50098256e73c25d25..6dfbe3bb9c228121bbc01ec848cd285aeae90f5a 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/',