<?php

include( "includes/init.php" );

$hitao_url = new hitao_url(SITE_URL,SITE_URL,$cfg_static_url=='Y');
$hitao_url->init();

$go=$_GET['go'];
$file =  INC_PATH.'model/'.$go.'.php';

//引用二次开发目录的同名模块
if(defined('CUSTOM_PATH') && CUSTOM_PATH){
	if(file_exists(CUSTOM_PATH.'/includes/model/'.$go.'.php')){
		$file =  CUSTOM_PATH.'/includes/model/'.$go.'.php';
	}

}

if(file_exists($file)){
	ob_start();
	include $file;
	$content = ob_get_contents();
	ob_end_clean();

	$content = $hitao_url->complete_urls($content);
	echo $content;
}else{
	exit('Error !');	
}

?>