summaryrefslogtreecommitdiff
path: root/app/Core
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-01-04 22:34:59 -0500
committerFrederic Guillot <fred@kanboard.net>2015-01-04 22:34:59 -0500
commit99d27e0ce4f48454808d2325cb407b5b35cf5e88 (patch)
tree3c518cf08499890d46b9d2f65724d46617e1fc67 /app/Core
parentd1d04d6feeebeba2aea5333d7a4229fcec799f75 (diff)
Allow users to override the timezone and the language
Diffstat (limited to 'app/Core')
-rw-r--r--app/Core/Translator.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Core/Translator.php b/app/Core/Translator.php
index 1954ee2f..0f5a77cc 100644
--- a/app/Core/Translator.php
+++ b/app/Core/Translator.php
@@ -181,5 +181,8 @@ class Translator
if (file_exists($filename)) {
self::$locales = require $filename;
}
+ else {
+ self::$locales = array();
+ }
}
}