From 99d27e0ce4f48454808d2325cb407b5b35cf5e88 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 4 Jan 2015 22:34:59 -0500 Subject: Allow users to override the timezone and the language --- app/Core/Translator.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/Core/Translator.php') 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(); + } } } -- cgit v1.2.3