mirror of
https://e.coding.net/circlecloud/McAccount.git
synced 2024-11-23 01:58:54 +00:00
31 lines
1.4 KiB
PHP
31 lines
1.4 KiB
PHP
|
<?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'] = 'localhost:3306'; // Mysql主机地址
|
||
|
$Config ['User'] = 'root'; // Mysql用户
|
||
|
$Config ['Password'] = 'ookk1904'; // Mysql密码
|
||
|
$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;
|
||
|
|