english is always neccessary // but not necessary in frontend if(!isset($IS_A_BOT)) { if(is_file($phpwcms['modules'][$_module_name]['path'].'lang/en.lang.php')) { $BLM = array(); include_once($phpwcms['modules'][$_module_name]['path'].'lang/en.lang.php'); // try to find right language - will be merged with default english if(is_file($phpwcms['modules'][$_module_name]['path'].'lang/'.$BE['LANG'].'.lang.php')) { include_once($phpwcms['modules'][$_module_name]['path'].'lang/'.$BE['LANG'].'.lang.php'); } // put mdule language setting into global language array $BL['modules'][$_module_name] = $BLM; } else { unset($phpwcms['modules'][$_module_name]); } } if($_module_fe_render && is_file(PHPWCMS_ROOT.'/include/inc_module/'.$value.'/frontend.render.php')) { $phpwcms['modules_fe_render'][] = PHPWCMS_ROOT.'/include/inc_module/'.$value.'/frontend.render.php'; } if($_module_fe_init && is_file(PHPWCMS_ROOT.'/include/inc_module/'.$value.'/frontend.init.php')) { $phpwcms['modules_fe_init'][] = PHPWCMS_ROOT.'/include/inc_module/'.$value.'/frontend.init.php'; } } } } unset($phpwcms_modules, $BLM); ?>