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('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 == '') { $translator = Msd_Language::getInstance();
$lang = 'en'; $this->view->lang = $translator->loadLanguage($lang);
}
$translator = Msd_Language::getInstance();
$this->view->lang = $translator->loadLanguage($lang);
} }
/** /**