1
0
Fork 0
- Fix for: Undefined index: msd_lang in application\controllers\InstallController.php on line 60
Dieser Commit ist enthalten in:
DSB 2012-08-21 20:27:36 +00:00
Ursprung 4a569043a6
Commit 21c66abebb

Datei anzeigen

@ -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);
} }