Skip to content
Extraits de code Groupes Projets
Valider 2af8afff rédigé par mattpiwik's avatar mattpiwik
Parcourir les fichiers

Moved the getLanguage call after the auth is completed. LanguageManagers need...

Moved the getLanguage call after the auth is completed. LanguageManagers need the language code after authentication, in the case the language was stored in the user preference table. Otherwise, there would be a bug where the language that was in my preference show up in the language selector as "selected" but all the content was in english.

git-svn-id: http://dev.piwik.org/svn/trunk@2035 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent d8059607
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -213,7 +213,6 @@ class Piwik_FrontController ...@@ -213,7 +213,6 @@ class Piwik_FrontController
throw $exceptionToThrow; throw $exceptionToThrow;
} }
Piwik_Translate::getInstance()->loadUserTranslation();
try { try {
Piwik::createDatabaseObject(); Piwik::createDatabaseObject();
...@@ -242,6 +241,7 @@ class Piwik_FrontController ...@@ -242,6 +241,7 @@ class Piwik_FrontController
} }
Zend_Registry::get('access')->reloadAccess($authAdapter); Zend_Registry::get('access')->reloadAccess($authAdapter);
Piwik_Translate::getInstance()->loadUserTranslation();
Piwik::raiseMemoryLimitIfNecessary(); Piwik::raiseMemoryLimitIfNecessary();
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter