Exemplo n.º 1
0
	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();
	}
}
if (file_exists('../modules/notes/class.notes.php')) {
	include '../modules/notes/class.notes.php';
	$notes = new notes;
	if (!$module->activated('notes') && $initmod) {
		$notes->init_sql();
		$notes->init_menu();
		$notes->init_deps();
		$notes->init_lang();
		$notes->init_help();
	}