Skip to content
Snippets Groups Projects
Commit 74b8e10d authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

fix warning on undefined lang

parent 4604e92a
No related branches found
No related tags found
1 merge request!10multi language support
......@@ -78,7 +78,7 @@ class cronlog {
$this->_aSkipJoblogs = isset($aCfgTemp['aHidelogs']) && is_array($aCfgTemp['aHidelogs']) ? $aCfgTemp['aHidelogs'] : $this->_aSkipJoblogs;
$this->_aInstances = isset($aCfgTemp['instances']) ? $aCfgTemp['instances'] : [];
$this->_sLang=$aCfgTemp['lang'] ? $aCfgTemp['lang'] : 'en-en';
$this->_sLang=isset($aCfgTemp['lang']) && $aCfgTemp['lang'] ? $aCfgTemp['lang'] : 'en-en';
$this->_aLang=$aCfgTemp=include(__DIR__.'/../config/lang_'.$this->_sLang.'.php');
}
$this->_sDataDir = str_replace("__APPDIR__", dirname(dirname(__FILE__)), $this->_sDataDir);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment