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