From d993c8584c4c2b6023606e727ea3e0db6a6bde51 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 17 Jul 2018 02:05:52 -0400 Subject: [PATCH] Add support for legacy $lang config in App->loadConfig --- src/App.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/App.php b/src/App.php index 6304ca995a..08cf382b54 100644 --- a/src/App.php +++ b/src/App.php @@ -357,6 +357,11 @@ class App $this->setConfigValue('system', 'pidfile', $pidfile); unset($pidfile); } + + if (isset($lang)) { + $this->setConfigValue('system', 'language', $lang); + unset($lang); + } } if (file_exists($this->basepath . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'local.ini.php')) {