예제 #1
0
	$region = new region;
	if (!$module->activated('region') && $initmod) {
		$region->init_sql();
		$region->init_menu();
		$region->init_deps();
		$region->init_lang();
		$region->init_help();
	}
}
if (file_exists('../modules/reminder/class.reminder.php')) {
	include '../modules/reminder/class.reminder.php';
	$reminder = new reminder;
	if (!$module->activated('reminder') && $initmod) {
		$reminder->init_sql();
		$reminder->init_menu();
		$reminder->init_deps();
		$reminder->init_lang();
		$reminder->init_help();
	}
}
if (file_exists('../modules/smoking/class.smoking.php')) {
	include '../modules/smoking/class.smoking.php';
	$smoking = new smoking;
	if (!$module->activated('smoking') && $initmod) {
		$smoking->init_sql();
		$smoking->init_menu();
		$smoking->init_deps();
		$smoking->init_lang();
		$smoking->init_help();
	}
}