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,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);
}
/**