<?php
//if(!defined('ISDVBBS')) exit('Access denied.Sorry, you can not access this file directly.');
if( !defined('ISDVBBS') ){
	//header('HTTP/1.0 401 Unauthorized');
	header('HTTP/1.0 400 Bad Request');
	exit;
}
// [EN]	Set below parameters according to your account information provided by your hosting
// [CH] 以下变量请根据空间商提供的账号参数修改,如有疑问,请联系服务器提供商

// 数据库服务器(database server)
$dbhost = 'localhost';
// 数据库名(database name)
$dbname = 'dvbbs';
// 数据库用户名(database username)
$dbuser = 'root';
// 数据库密码(database password)
$dbpw = '123456';

// [EN] If you have problems logging in Dvbbs.PHP, then modify the following parameters, else please leave default
// [CH] 如您对 cookie 作用范围有特殊要求,或论坛登录不正常,请修改下面变量,否则请保持默认

// cookie 作用域(cookie domain)
//when use the sub domain url rewrite must set $cookiedomain
//当使用二级域名重写技术时，必须设置$cookiedomain
//example: your bbs access url is http://www.dvphp.com
//例如：你的论坛访问地址为：http://www.dvphp.com
//the $cookiedomain is set to 'dvphp.com'
//$cookiedomain 必须设置为 dvphp.com
// cookie 作用域(cookie domain)
$cookiedomain = '';//'dvphp.dvbbs.cn';
// cookie 作用路径(cookie path)
$cookiepath = '/';
//cookie前缀
$cookieprename = 'dvbbs_';

// [EN] Special parameters, DO NOT modify these unless you are an expert in Dvbbs.PHP
// [CH] 以下变量为特别选项,一般情况下没有必要修改

// reporting php error, 0=only report to admins(safer), 1=report to all
// 是否报告 PHP 错误, 0=只报告给管理员和版主(更安全), 1=报告给任何人
$isdebug = 1;
// persistent database connection, 0=off, 1=on
// 数据库持久连接 0=关闭, 1=打开
$pconnect = 1;


// [EN] !ATTENTION! Do NOT modify following after your board was settle down
// [CH] 论坛投入使用后不能修改的变量

// table prefix, modify this when you are installingmore than 1 Dvbbs.PHP in the same database.
// 表名前缀, 同一数据库安装多个论坛请修改此处
$dv = 'dv_';

// [EN] !ATTENTION! Preservation or debugging for developing
// [CH] 切勿修改以下变量,仅供程序开发调试用!

// 'mysql' for MySQL version and 'pgsql' for PostgreSQL version
// MySQL 版本请设置 'mysql', PgSQL 版本请设置 'pgsql'
$database = 'mysql';			
// default character set, 'gbk', 'big5', 'utf-8' are available
// 论坛默认字符集, 可选 'gbk', 'big5', 'utf-8'
$charset = 'gbk';			
// protect against attacks via common request, 0=off, 1=cookie refresh limitation, 2=deny proxy request, 3=both
//防护大量正常请求造成的拒绝服务攻击, 0=关闭, 1=cookie 刷新限制, 2=限制代理访问, 3=cookie+代理限制
$attackevasive = 0;
//起用全站快速缓存机制，在线3000以上的论坛关闭此项可增加负载能力(稍微降低运行速度)
$forumfastspeed = 1;
$IsSqlDataBase = false;//true;
?>