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,12 +57,9 @@ class InstallController extends Msd_Controller_Action
|
|||
$this->_config->setParam('paths.iconPath', 'css/msd/icons');
|
||||
$this->_config->setParam('configFile', 'mysqldumper.ini');
|
||||
$this->view->config = $this->_config;
|
||||
$lang = $_SESSION['msd_lang'];
|
||||
if ($lang == '') {
|
||||
$lang = 'en';
|
||||
}
|
||||
$translator = Msd_Language::getInstance();
|
||||
$this->view->lang = $translator->loadLanguage($lang);
|
||||
$lang = isset($_SESSION['msd_lang']) ? $_SESSION['msd_lang'] : 'en';
|
||||
$translator = Msd_Language::getInstance();
|
||||
$this->view->lang = $translator->loadLanguage($lang);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Laden …
In neuem Issue referenzieren