-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.inc.php
23 lines (22 loc) · 1.17 KB
/
config.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
define("DEBUG", 0); //开启调试模式 1 开启 0 关闭
define("DRIVER","pdo"); //数据库的驱动,本系统支持pdo(默认)和mysqli两种
//define("DSN", "mysql:host=localhost;dbname=brophp"); //如果使用PDO可以使用,不使用则默认连接MySQL
define("HOST", "localhost"); //数据库主机
define("USER", "root"); //数据库用户名
define("PASS", "46683e97ffd7"); //数据库密码
define("DBNAME","yb"); //数据库名
define("TABPREFIX", ""); //数据表前缀
define("CSTART", 0); //缓存开关 1开启,0为关闭
define("CTIME", 1); //缓存时间
define("TPLPREFIX", "html"); //模板文件的后缀名
define("TPLSTYLE", "default"); //默认模板存放的目录
//$memServers = array("localhost", 11211); //使用memcache服务器
/*
如果有多台memcache服务器可以使用二维数组
$memServers = array(
array("www.lampbrother.net", '11211'),
array("www.brophp.com", '11211'),
...
);
*/