MSD-19
- Fix for: Undefined index: msd_lang in application\controllers\InstallController.php on line 60
Dieser Commit ist enthalten in:
Ursprung
4a569043a6
Commit
21c66abebb
1 geänderte Dateien mit 3 neuen und 6 gelöschten Zeilen
|
@ -57,10 +57,7 @@ class InstallController extends Msd_Controller_Action
|
||||||
$this->_config->setParam('paths.iconPath', 'css/msd/icons');
|
$this->_config->setParam('paths.iconPath', 'css/msd/icons');
|
||||||
$this->_config->setParam('configFile', 'mysqldumper.ini');
|
$this->_config->setParam('configFile', 'mysqldumper.ini');
|
||||||
$this->view->config = $this->_config;
|
$this->view->config = $this->_config;
|
||||||
$lang = $_SESSION['msd_lang'];
|
$lang = isset($_SESSION['msd_lang']) ? $_SESSION['msd_lang'] : 'en';
|
||||||
if ($lang == '') {
|
|
||||||
$lang = 'en';
|
|
||||||
}
|
|
||||||
$translator = Msd_Language::getInstance();
|
$translator = Msd_Language::getInstance();
|
||||||
$this->view->lang = $translator->loadLanguage($lang);
|
$this->view->lang = $translator->loadLanguage($lang);
|
||||||
}
|
}
|
||||||
|
|
Laden …
In neuem Issue referenzieren