2015-10-13 06:26:47 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// 系统基本配置 **********************************************
|
|
|
|
$Config ['HttpPath'] = false; // 是否开启 index.php/Controller/Action/name/value 模式
|
|
|
|
$Config ['Filter'] = false; // 是否过滤 $_GET、$_REQUEST、$_COOKIE、$_FILES
|
|
|
|
$Config ['XSS'] = true; // 是否开启 XSS防范
|
|
|
|
$Config ['SessionStart'] = true; // 是否开启 SESSION
|
|
|
|
$Config ['DebugPhp'] = true; // 是否开启PHP运行报错信息
|
|
|
|
$Config ['DebugSql'] = true; // 是否开启源码调试Sql语句
|
|
|
|
$Config ['CharSet'] = 'utf-8'; // 设置网页编码
|
|
|
|
$Config ['UrlControllerName'] = 'c'; // 自定义控制器名称 例如: index.php?c=index
|
|
|
|
$Config ['UrlActionName'] = 'a'; // 自定义方法名称 例如: index.php?c=index&a=IndexAction
|
|
|
|
$Config ['index'] = "index.php";
|
|
|
|
|
|
|
|
// 默认使用数据库配置 *****************************************
|
|
|
|
|
|
|
|
$Config ['ConnectTag'] = 'default'; // Mysql连接标识 可同时进行多连接
|
2015-10-19 12:48:13 +00:00
|
|
|
$Config ['Host'] = '127.0.0.1:3306'; // Mysql主机地址
|
|
|
|
$Config ['User'] = 'minecraft'; // Mysql用户
|
|
|
|
$Config ['Password'] = '325325'; // Mysql密码
|
2015-10-13 06:26:47 +00:00
|
|
|
$Config ['DBname'] = 'minecraft'; // 数据库名称
|
|
|
|
$Config ['CharSet'] = "UTF-8";
|
|
|
|
|
|
|
|
// 邮箱信息配置**********************************************
|
|
|
|
$Config ['smtp'] = "smtp.163.com";
|
|
|
|
$Config ['port'] = "25";
|
|
|
|
$Config ['user'] = "jtb1@163.com";
|
|
|
|
$Config ['sender'] = "jtb1@163.com";
|
|
|
|
$Config ['pass'] = "jtb2hww";
|
|
|
|
$Config ['debug'] = false;
|
|
|
|
|