Add support for legacy $lang config in App->loadConfig

Bu işleme şunda yer alıyor:
Hypolite Petovan 2018-07-17 02:05:52 -04:00
ebeveyn 007ec92ae4
işleme d993c8584c
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme

Dosyayı Görüntüle

@ -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')) {