Browse Source

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

tags/2018.09
Hypolite Petovan 1 year ago
parent
commit
d993c8584c
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/App.php

+ 5
- 0
src/App.php View File

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


Loading…
Cancel
Save