1
0
mirror of https://e.coding.net/circlecloud/McAccount.git synced 2024-11-25 02:18:57 +00:00
McAccount/Amysql/Config.php

31 lines
1.5 KiB
PHP
Raw Permalink Normal View History

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连接标识 可同时进行多连接
$Config ['Host'] = '127.0.0.1:3306'; // Mysql主机地址
$Config ['User'] = 'root'; // Mysql用户
$Config ['Password'] = 'root'; // Mysql密码
2015-10-13 06:26:47 +00:00
$Config ['DBname'] = 'minecraft'; // 数据库名称
$Config ['CharSet'] = "UTF-8";
// 邮箱信息配置**********************************************
$Config ['smtp'] = "smtp.citycraft.cn";
2015-10-13 06:26:47 +00:00
$Config ['port'] = "25";
$Config ['user'] = "authme@citycraft.cn";
$Config ['sender'] = "authme@citycraft.cn";
$Config ['pass'] = "Email2Check";
2015-10-13 06:26:47 +00:00
$Config ['debug'] = false;