<?php

$GLOBALS['system_path'] 		= 'system';					//系统核心目录
$GLOBALS['application_path'] 	= 'application';			//应用程序目录
$GLOBALS['language_path'] 		= 'user';					//语言包目录
$GLOBALS['tpl_path'] 			= 'templates/user';			//模板目录
$GLOBALS['cpl_path'] 			= 'compiles/user';			//编译目录
$GLOBALS['cache_path'] 			= '_tmp/user';				//缓存目录

require ROOT_PATH.$system_path.'/config/config.ini.php';

require ROOT_PATH.$system_path.'/class/class_request.php';

require ROOT_PATH.$system_path.'/class/class_websession.php';

require ROOT_PATH.$application_path.'/smarty/Smarty.class.php';

require ROOT_PATH.$system_path.'/class/class_mysql.php';

require ROOT_PATH.$system_path.'/class/class_page.php';

require ROOT_PATH.$system_path.'/class/class_helper.php';

require ROOT_PATH.$system_path.'/class/class_userurl.php';

$WebConfig = $Helpe -> get_config();

$GLOBALS['Templ'] -> assign('getconfig',$WebConfig);	//获取配置文件


 
?>