From b1e5296d1dd5863a4d456454eeed02c89ae4e916 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Sun, 24 Jan 2016 15:46:25 +0100 Subject: [PATCH] Added fallback check for the configuration language. --- src/application/config/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/application/config/config.php b/src/application/config/config.php index 18cc26d6..ebe14b16 100644 --- a/src/application/config/config.php +++ b/src/application/config/config.php @@ -82,8 +82,8 @@ $config['url_suffix'] = ''; | than english. | */ -$config['language'] = Config::LANGUAGE; // Default Language +$config['language'] = defined('Config::LANGUAGE') ? Config::LANGUAGE : 'english'; /* |--------------------------------------------------------------------------