Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-08-25 11:24:44 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-08-25 11:24:44 +0400
commit5d36a959d9957ab3641c934524ea9f18d1dcfb47 (patch)
tree163b0b3dae8f0ae073abf407a4a70b700f6ea135 /core/FrontController.php
parent97217d72e46433d807ec26a594eba3cd3afb2600 (diff)
refs #5863 we need to load core translations upfront as metadataLoader will try to load plugin translation directly after loading the plugin when the plugin translations are not loaded yet. Maybe better fix would be to defer loading the plugin getInformation until needed. Could also bring performance improvement
Diffstat (limited to 'core/FrontController.php')
-rw-r--r--core/FrontController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/FrontController.php b/core/FrontController.php
index db6f1772dc..8a8949ad2c 100644
--- a/core/FrontController.php
+++ b/core/FrontController.php
@@ -313,6 +313,7 @@ class FrontController extends Singleton
Filechecks::dieIfDirectoriesNotWritable($directoriesToCheck);
Translate::loadEnglishTranslation();
+ Plugin\Manager::getInstance()->loadPluginTranslations();
$exceptionToThrow = self::createConfigObject();