Beispiel #1
0
if (file_exists('../modules/mc/class.mc.php')) {
	include '../modules/mc/class.mc.php';
	$mc = new mc;
	if (!$module->activated('mc') && $initmod) {
		$mc->init_sql();
		$mc->init_menu();
		$mc->init_deps();
		$mc->init_lang();
		$mc->init_help();
	}
}
if (file_exists('../modules/mc_report/class.mc_report.php')) {
	include '../modules/mc_report/class.mc_report.php';
	$mc_report = new mc_report;
	if (!$module->activated('mc_report') && $initmod) {
		$mc_report->init_sql();
		$mc_report->init_menu();
		$mc_report->init_deps();
		$mc_report->init_lang();
		$mc_report->init_help();
	}
}
if (file_exists('../modules/news/class.news.php')) {
	include '../modules/news/class.news.php';
	$news = new news;
	if (!$module->activated('news') && $initmod) {
		$news->init_sql();
		$news->init_menu();
		$news->init_deps();
		$news->init_lang();
		$news->init_help();