<?php
/**
 * Power By Tmac PHP MVC framework
 * $Author: zhangwentao $  <zwttmac@qq.com>
 * $Id: Tmac.config.php 43 2011-12-01 11:09:19Z zhangwentao $
 * http://un.zhuna.cn； 
 */
!defined('TMAC_BASE_PATH') && exit('Access Denied!');
require(TMAC_BASE_PATH . 'database.config.php');
$TmacConfig = array();

//Tmac 一般设置
$TmacConfig['Common']['urlrewrite'] = false;            //是否开启urlrewrite(隐藏index.php)
$TmacConfig['Common']['urlseparator'] = '.';            //Controller与Action的分隔符  以上几项修改后 需要删除Cache\template下的模板缓存
$TmacConfig['Common']['charset'] = 'UTF-8';             //文档编码(UTF-8|GB2312)
$TmacConfig['Common']['timezone'] = 'Asia/Chongqing';   //时区
$TmacConfig['Common']['autofilter'] = true;             //是否进行自动对POST.GET.COOKIE进行过滤
$TmacConfig['Common']['gzip'] = true;                   //是否启用gzip页面压缩
$TmacConfig['Common']['debug'] = false;					//是否开启DEBUG模式 上线后关闭
$TmacConfig['Common']['errorreport'] = true;           //是否开启页面报错 上线后关闭
$TmacConfig['Common']['url_case_insensitive'] = false;  //URL地址是否不区分大小写
$TmacConfig['Common']['cookiepre'] = 'tmac_';           //cookie前缀
$TmacConfig['Common']['cookiecrypt'] = true;            //cookie是否加密 建议您调试程序的时候关闭 发布程序的时候开启

//Tmac 缓存设置
$TmacConfig['Cache']['class'] = 'File';                 //Tmac缓存方式 可以为File Apc EAccelerator Memcached XCache

require(APPLICATION_ROOT . 'Config' . DIRECTORY_SEPARATOR . 'config.php');
?>