<?php

/// 参数配置-根据需要配置 -----------------------------------------------

// 系统参数
$_cbase['sys']['sn']      = '0BAB703D-127A-B479-1979-2010-0424X888'; // 序列号
$_cbase['sys']['ver']     = '5.0'; // 版本号
$_cbase['sys']['cset']    = 'utf-8';// 系统编码
$_cbase['sys']['tmzone']  = '8'; //
$_cbase['sys']['tzcode']  = 'PRC'; // 时区+-12, 'ETC/GMT-8'
$_cbase['sys']['lang']    = 'cn'; // 默认语言:根据语言包,可设置en,cn等
$_cbase['sys']['xpwby']   = '(imcat.txjia.com)/v5.0+'; // `X-Powered-By`头信息：空为默认, 或自定义

// Cookie
$_cbase['ck']['pre']      = 'v49_'; // Cookie前缀,8字符以内
$_cbase['ck']['domain']   = ''; // Cookie Domain
$_cbase['ck']['path']     = '/'; // Cookie Path

//调试日志配置
$_cbase['debug']['err_mode']  = '1'; //可后台设置,是否开启调试模式，1,0(run=0)
$_cbase['debug']['err_save']  = 'file'; //记录方式: file, db, 
$_cbase['debug']['err_path']  = ''; //出错信息存放的目录，出错信息以天为单位存放，一般不需要修改 /erlog  
$_cbase['debug']['err_file']  = 'Y-md'; //文件格式: Y-md:1979-0913, Y-m-d: 1979-09-13
$_cbase['debug']['err_hand']  = true; //是否启动CP内置的错误处理，如果开启了xdebug，建议设置为false 
$_cbase['debug']['err_hkey']  = '(def)'; //E_ALL^E_WARNING^E_NOTICE;

$_cbase['debug']['log_save']  = ''; //记录方式: 空:不记录, Y-mdH, Y-md-H, db, 
$_cbase['debug']['pay_log'] = 1; //支付记录-调试标记

$_cbase['debug']['db_sql']  = ''; //记录方式: 空:不记录, Y-mdH, Y-md-H, db, 
$_cbase['debug']['db_acts'] = ',select,qSelect,find,'; //connect,delete,update,replace,insert,count,fields,tables,qOther,
$_cbase['debug']['db_area'] = array('RUN_FRONT','RUN_MOB',); //,'RUN_ADMIN','RUN_UMC','RUN_AJAX','RUN_DBSQL','RUN_DEV'
$_cbase['debug']['db_time'] = '100'; //0,10,100

//模板配置 
$_cbase['tpl']['tpc_on']  = 0; //是否开启模板缓存，true开启,false不开启 
$_cbase['tpl']['tpc_ext'] = '.cac_php'; //模板缓存后缀,一般不需要修改 
$_cbase['tpl']['no_static'] = '(adm)'; //,umc
$_cbase['tpl']['def_static'] = 'comm';
$_cbase['tpl']['mob_tpls'] = '(mob,comm)'; //,app

// server
$_cbase['server']['txmao']  = 'http://imcat.txjia.com'; //txmao首页{svrtxmao}
$_cbase['server']['txcode'] = 'http://yscode.txjia.com'; //txcode首页{svrtxcode}
$_cbase['server']['txjia']  = 'http://txjia.com'; //txjia首页{svrtxjia}

//用户自定义配置
$_cbase['ucfg']['vimg']  = 'K'; // 0,H,K
$_cbase['ucfg']['ipapi'] = 'Taobao'; // 默认IP地址接口, Pcoln # Taobao # Api # Ip138 # Baidu
$_cbase['ucfg']['guid'] = 'Cook'; // UIP,Sess,Cook
$_cbase['ucfg']['city'] = '东莞'; //本地城市,订单算运费用
$_cbase['ucfg']['space'] = 30; //M空间大小
$_cbase['ucfg']['dbind'] = 0; //是否开启绑定子域名
$_cbase['ucfg']['ctab'] = 'F00,F0F,060,00F,F60,90F,F69,06F,099,606,60F,906,F6F'; //颜色表
$_cbase['ucfg']['stats'] = ''; // 开启统计模块:comm,dev,doc,sapi; 自v5.0+可扩展用

/// 额外配置-根据需要配置 -----------------------------------------------

// 多语言/多城市:实现
$_cbase['part']['name'] = '便笺墙'; // 名称:语言/城市/Memo-Wall
$_cbase['part']['tab'] = array(
    'mood' => '心情墙', // 'cn' => '中文版', // 'cz' => '郴州',
    'wish' => '许愿墙', // 'en' => 'English', // 'dg' => '东莞',
    'word' => '和平鸽小语', 
);
$_cbase['part']['def'] = 'mood'; // 默认:语言-cn/城市-cz
$_cbase['part']['mods'] = array('wall',); // 'about','cargo','gbook'
$_cbase['part']['psyn'] = array('xxx'); // 'about','cargo', 资料同步模型
// 请在相关模型主表的`xno`字段后,手动添加`part`字段
// 设置了psyn的模型，再添加psyn字段，用于同步
