<?php
/**
 * 配置文件
 
 * */

//数据库配置
define('AM_DIR',dirname(__FILE__).DIRECTORY_SEPARATOR);
require_once AM_DIR.'../inc/config.php';
require_once AM_DIR.'./include/lib_common.php';

$_TC['sqlhost'] = app_dbserver;
$_TC['sqlname'] = app_dbname;
$_TC['sqlpre'] = app_tablepre;
$_TC['sqluser'] = app_dbuser;
$_TC['sqlpw'] = app_dbpass;
$_TC['dbcharset'] = "utf8";

$_TC['pconnect'] = 1;	//持久连接
$_TC['showbug'] = 1;	//显示SQL错误信息

//语言设置
$_TC['charset'] = 'UTF-8';


//其他信息
$_TC['site_email'] = app_email;
$_TC['site_name'] = app_sitename;
$_TC['site_description'] = app_description;
$_TC['site_url'] = "http://".app_siteurl."/";
$_TC['site_keywords'] = app_keywords;

$_TC['site_copyright'] = app_description;

$_TC['site_hot_search'] = explode("|",app_description);


$picUrl = 'http://'.$_SERVER['HTTP_HOST'].'/';



?>