diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-05-12 07:47:11 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-05-12 07:47:11 +0400 |
commit | a6b50c783e6599217318f09cbfc0c0fde9c0d50f (patch) | |
tree | 7f29492755e9d9b7898602df37a23454bf762807 /core/Config.php | |
parent | 3fc338a51bd001eec5a366e915d22abf84dcdc8b (diff) |
Load translation before throwing exception, so message is displayed in english
Diffstat (limited to 'core/Config.php')
-rw-r--r-- | core/Config.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Config.php b/core/Config.php index 2e093007c7..2351adff63 100644 --- a/core/Config.php +++ b/core/Config.php @@ -343,6 +343,7 @@ class Config extends Singleton public function checkLocalConfigFound() { if (!$this->existsLocalConfig()) { + Translate::loadEnglishTranslation(); throw new Exception(Piwik::translate('General_ExceptionConfigurationFileNotFound', array($this->pathLocal))); } } |