<?php
define("LINK",$config['table_pre']."web_link");//友情链接表
define("CONFIG",$config['table_pre']."web_config");//网站配置表
define("USERGROUP",$config['table_pre']."user_group");//前台用户分组表
define("RESERVE_USERNAME",$config['table_pre']."reserve_username");//系统保护用户名表
define("IPLOCK",$config['table_pre']."stop_ip");//IP地址锁定表
define("ALLUSER",$config['table_pre']."user_all");//用户登录信息表，多版本共用
define("FEED",$config['table_pre']."feed");
define("PV",$config['table_pre']."page_view");//管理员后台统计表
define("ADMIN",$config['table_pre']."admin");//网站管理员
define("ADVS",$config['table_pre']."advs");//站内广告位表
define("ADVSCON",$config['table_pre']."advs_con");//站内广告位内容表
define("COUNTRY",$config['table_pre']."country");//国家列表
define("PROVINCE",$config['table_pre']."province");//省份
define("CITY",$config['table_pre']."city");//城市列表
define("GROUP",$config['table_pre']."admin_group");//会员权限组
define("MODULES",$config['table_pre']."modules");//管理员权限模块登记组
define("DOMAIN",$config['table_pre']."sub_domain");//会员友情链接
define("WEBCON",$config['table_pre']."web_con");//网站初始化内容设置
define("WEBCONGROUP",$config['table_pre']."web_con_group");//网站初始化内容分组
define("TAGS",$config['table_pre']."tags");//标签表
define("CTAGS",$config['table_pre']."contags");//标签内容关连表
define("MENU",$config['table_pre']."nav_menu");//导航栏配置表
define("MAILMOD",$config['table_pre']."mail_mod");//邮件模板
define("MAILREC",$config['table_pre']."mail_record");//邮件群发日志
define("READREC",$config['table_pre']."user_read_rec");//用户阅读记录表
define("REGVERFCODE",$config['table_pre']."reg_vercode");//注册随机问题表
define("PAGEREC",$config['table_pre']."page_rec");//网站历史流量记录表
define("CUSTOM_CAT",$config['table_pre']."custom_cat");//自定义类别表
define("CRON",$config['table_pre']."cron");//计划任务表
define("SUBSCRIBE",$config['table_pre']."subscribe");//订阅信息表
define("OPLOG",$config['table_pre']."admin_operation_log"); //后台管理员操作日志
define("POINTCONFIG",$config['table_pre']."point_config"); //积分配置表
define("EXTENDFILE",$config['table_pre'].'web_extend_file');//	管理员自定义字段表
define("SWORD",$config['table_pre']."search_word");//热门搜索关键词
define("AUDIT",$config['table_pre']."auditing");//审核
define("FILTER",$config['table_pre']."filter_keyword");//过滤关键词
define("USERCOON",$config['table_pre']."user_connected");//用户与QQ，MSN，新浪绑定表
define("CITYAREA",$config['table_pre']."city_area");
define("EXTENDCAT",$config['table_pre']."web_extend_cat");
define("SESS",$config['table_pre']."session");
//======================================加载模块表配置。
$dir=$config['webroot'].'/module/';
$handle = opendir($dir); 
while ($filename = readdir($handle))
{ 
	if($filename!="."&&$filename!="..")
	{
	  if(file_exists($dir.$filename.'/table_config.php'))
	  { 
		 include("$dir/$filename/table_config.php");
	  }
   }
}
?>