Tokiwa Battle Royale  GE777
A PHP Battle Royale inspired game
 All Data Structures Namespaces Files Functions Variables Pages
config.inc.php
Go to the documentation of this file.
1 <?php
2 //以下内容在游戏安装时初始化,不能通过游戏后台修改// [EN] Set below parameters according to your account information provided by your hosting // [CH] 以下变量请根据空间商提供的账号参数修?如有疑问,请联系服务器提供? $dbhost = 'localhost'; // database server // 数据库服务器 $dbuser = 'root'; // database username // 数据库用户名 $dbpw = ''; // database password // 数据库密? $dbname = 'acdts3'; // database name // 数据库名 $dbreport = 1; // send db error report? 1=yes // 是否发送数据库错误报告? 0=? 1=? // [EN] If you have problems logging in Discuz!, then modify the following parameters, else please leave default // [CH] 如您?cookie 作用范围有特殊要?或游戏登录不正常,请修改下面变?否则请保持默? $cookiedomain = ''; // cookie domain // cookie 作用? $cookiepath = '/'; // cookie path // cookie 作用路径 // [EN] Special parameters, DO NOT modify these unless you are an expert in Discuz! // [CH] 以下变量为特别选项,一般情况下没有必要修改 $headercharset = 0; // force outputing charset header // 强制设置字符?只乱码时使用 $onlinehold = 900; // time span of online recording // 在线保持时间,单位? $pconnect = true; // persistent database connection, 0=off, 1=on // 数据库持久连?false=关闭, true=打开 $gamefounder = 'Amarillo_NMC'; // super administrator's UID // 游戏创始?UID, 可以支持多个创始人,之间使用 ??分隔? // 如果不设置游戏创始人,则管理员之间可以相互编辑,具体权力差别请见游戏使用文档 $postinterval = 1; //用户提交命令的间隔时间,单位? $moveut = 8; //set the difference of server time and client time //如果本地时间跟服务器时间有时差,在此处更? $moveutmin = 0; //set the difference of server time and client time, by minutes //如果本地时间跟服务器时间有时差,在此处更? // [EN] !ATTENTION! Do NOT modify following after your board was settle down // [CH] 游戏投入使用后不能修改的变量 $tablepre = 'acbra3_'; // 表名前缀, 同一数据库安装多个游戏请修改此处 // table prefix, modify this when you are installingmore than 1 Discuz! in the same database. $authkey = 'bra'; //game encrypt key ,the same of plus key //游戏加密密钥,要与插件密钥相? // [EN] !ATTENTION! Preservation or debugging for developing // [CH] 切勿修改以下变量,仅供程序开发调试用! $database = 'mysql'; // 'mysql' for MySQL version and 'pgsql' for PostgreSQL version // MySQL 版本请设?'mysql', PgSQL 版本请设?'pgsql' $charset = 'utf-8'; // default character set, 'gbk', 'big5', 'utf-8' are available // 游戏默认字符? 可?'gbk', 'big5', 'utf-8' $dbcharset = 'utf8'; // default database character set, 'gbk', 'big5', 'utf8', 'latin1' and blank are available // MySQL 字符? 可?'gbk', 'big5', 'utf8', 'latin1', 留空为按照游戏字符集设定 $attackevasive = 0; // protect against attacks via common request, 0=off, 1=cookie refresh limitation, 2=deny proxy request, 3=both // 防护大量正常请求造成的拒绝服务攻? 0=关闭, 1=cookie 刷新限制, 2=限制代理访问, 3=cookie+代理限制 $tplrefresh = 1; // auto check validation of templates, 0=off, 1=on // 模板自动刷新开?0=关闭, 1=打开, 在不修改页面的情况下可以关闭 $bbsurl = 'http://76573.org/'; //the bbs url for the game plus //安装游戏插件的论坛地址 $gameurl = 'http://lg.dianbo.me/'; // the url of game program files,for the full-window mode //游戏程序地址,用于全屏模? $homepage = 'http://www.amarilloviridian.com/'; // game homepage //官方网站地址 $title = '电 波 大 逃 杀'; //game title //游戏标题 $errorinfo = 0; //是否开启错误信息提示,1为开启,0为关闭。开启会泄漏游戏安装路径 // ============================================================================ ?>
3 // [EN] Set below parameters according to your account information provided by your hosting
4 // [CH] 以下变量请根据空间商提供的账号参数修?如有疑问,请联系服务器提供?
5 
6  $dbhost = 'localhost'; // database server
7  // 数据库服务器
8 
9  $dbuser = 'root'; // database username
10  // 数据库用户名
11 
12  $dbpw = ''; // database password
13  // 数据库密?
14 
15  $dbname = 'acdts3'; // database name
16  // 数据库名 $dbreport = 1; // send db error report? 1=yes // 是否发送数据库错误报告? 0=? 1=? // [EN] If you have problems logging in Discuz!, then modify the following parameters, else please leave default // [CH] 如您?cookie 作用范围有特殊要?或游戏登录不正常,请修改下面变?否则请保持默? $cookiedomain = ''; // cookie domain // cookie 作用? $cookiepath = '/'; // cookie path // cookie 作用路径 // [EN] Special parameters, DO NOT modify these unless you are an expert in Discuz! // [CH] 以下变量为特别选项,一般情况下没有必要修改 $headercharset = 0; // force outputing charset header // 强制设置字符?只乱码时使用 $onlinehold = 900; // time span of online recording // 在线保持时间,单位? $pconnect = true; // persistent database connection, 0=off, 1=on // 数据库持久连?false=关闭, true=打开 $gamefounder = 'Amarillo_NMC'; // super administrator's UID // 游戏创始?UID, 可以支持多个创始人,之间使用 ??分隔? // 如果不设置游戏创始人,则管理员之间可以相互编辑,具体权力差别请见游戏使用文档 $postinterval = 1; //用户提交命令的间隔时间,单位? $moveut = 8; //set the difference of server time and client time //如果本地时间跟服务器时间有时差,在此处更? $moveutmin = 0; //set the difference of server time and client time, by minutes //如果本地时间跟服务器时间有时差,在此处更? // [EN] !ATTENTION! Do NOT modify following after your board was settle down // [CH] 游戏投入使用后不能修改的变量 $tablepre = 'acbra3_'; // 表名前缀, 同一数据库安装多个游戏请修改此处 // table prefix, modify this when you are installingmore than 1 Discuz! in the same database. $authkey = 'bra'; //game encrypt key ,the same of plus key //游戏加密密钥,要与插件密钥相? // [EN] !ATTENTION! Preservation or debugging for developing // [CH] 切勿修改以下变量,仅供程序开发调试用! $database = 'mysql'; // 'mysql' for MySQL version and 'pgsql' for PostgreSQL version // MySQL 版本请设?'mysql', PgSQL 版本请设?'pgsql' $charset = 'utf-8'; // default character set, 'gbk', 'big5', 'utf-8' are available // 游戏默认字符? 可?'gbk', 'big5', 'utf-8' $dbcharset = 'utf8'; // default database character set, 'gbk', 'big5', 'utf8', 'latin1' and blank are available // MySQL 字符? 可?'gbk', 'big5', 'utf8', 'latin1', 留空为按照游戏字符集设定 $attackevasive = 0; // protect against attacks via common request, 0=off, 1=cookie refresh limitation, 2=deny proxy request, 3=both // 防护大量正常请求造成的拒绝服务攻? 0=关闭, 1=cookie 刷新限制, 2=限制代理访问, 3=cookie+代理限制 $tplrefresh = 1; // auto check validation of templates, 0=off, 1=on // 模板自动刷新开?0=关闭, 1=打开, 在不修改页面的情况下可以关闭 $bbsurl = 'http://76573.org/'; //the bbs url for the game plus //安装游戏插件的论坛地址 $gameurl = 'http://lg.dianbo.me/'; // the url of game program files,for the full-window mode //游戏程序地址,用于全屏模? $homepage = 'http://www.amarilloviridian.com/'; // game homepage //官方网站地址 $title = '电 波 大 逃 杀'; //game title //游戏标题 $errorinfo = 0; //是否开启错误信息提示,1为开启,0为关闭。开启会泄漏游戏安装路径 // ============================================================================ ?>
17 
18  $dbreport = 1; // send db error report? 1=yes
19  // 是否发送数据库错误报告? 0=? 1=?
20 
21 // [EN] If you have problems logging in Discuz!, then modify the following parameters, else please leave default
22 // [CH] 如您?cookie 作用范围有特殊要?或游戏登录不正常,请修改下面变?否则请保持默?
23 
24  $cookiedomain = ''; // cookie domain
25  // cookie 作用?
26 
27  $cookiepath = '/'; // cookie path
28  // cookie 作用路径
29 
30 
31 // [EN] Special parameters, DO NOT modify these unless you are an expert in Discuz!
32 // [CH] 以下变量为特别选项,一般情况下没有必要修改 $headercharset = 0; // force outputing charset header // 强制设置字符?只乱码时使用 $onlinehold = 900; // time span of online recording // 在线保持时间,单位? $pconnect = true; // persistent database connection, 0=off, 1=on // 数据库持久连?false=关闭, true=打开 $gamefounder = 'Amarillo_NMC'; // super administrator's UID // 游戏创始?UID, 可以支持多个创始人,之间使用 ??分隔? // 如果不设置游戏创始人,则管理员之间可以相互编辑,具体权力差别请见游戏使用文档 $postinterval = 1; //用户提交命令的间隔时间,单位? $moveut = 8; //set the difference of server time and client time //如果本地时间跟服务器时间有时差,在此处更? $moveutmin = 0; //set the difference of server time and client time, by minutes //如果本地时间跟服务器时间有时差,在此处更? // [EN] !ATTENTION! Do NOT modify following after your board was settle down // [CH] 游戏投入使用后不能修改的变量 $tablepre = 'acbra3_'; // 表名前缀, 同一数据库安装多个游戏请修改此处 // table prefix, modify this when you are installingmore than 1 Discuz! in the same database. $authkey = 'bra'; //game encrypt key ,the same of plus key //游戏加密密钥,要与插件密钥相? // [EN] !ATTENTION! Preservation or debugging for developing // [CH] 切勿修改以下变量,仅供程序开发调试用! $database = 'mysql'; // 'mysql' for MySQL version and 'pgsql' for PostgreSQL version // MySQL 版本请设?'mysql', PgSQL 版本请设?'pgsql' $charset = 'utf-8'; // default character set, 'gbk', 'big5', 'utf-8' are available // 游戏默认字符? 可?'gbk', 'big5', 'utf-8' $dbcharset = 'utf8'; // default database character set, 'gbk', 'big5', 'utf8', 'latin1' and blank are available // MySQL 字符? 可?'gbk', 'big5', 'utf8', 'latin1', 留空为按照游戏字符集设定 $attackevasive = 0; // protect against attacks via common request, 0=off, 1=cookie refresh limitation, 2=deny proxy request, 3=both // 防护大量正常请求造成的拒绝服务攻? 0=关闭, 1=cookie 刷新限制, 2=限制代理访问, 3=cookie+代理限制 $tplrefresh = 1; // auto check validation of templates, 0=off, 1=on // 模板自动刷新开?0=关闭, 1=打开, 在不修改页面的情况下可以关闭 $bbsurl = 'http://76573.org/'; //the bbs url for the game plus //安装游戏插件的论坛地址 $gameurl = 'http://lg.dianbo.me/'; // the url of game program files,for the full-window mode //游戏程序地址,用于全屏模? $homepage = 'http://www.amarilloviridian.com/'; // game homepage //官方网站地址 $title = '电 波 大 逃 杀'; //game title //游戏标题 $errorinfo = 0; //是否开启错误信息提示,1为开启,0为关闭。开启会泄漏游戏安装路径 // ============================================================================ ?>
33 
34  $headercharset = 0; // force outputing charset header
35  // 强制设置字符?只乱码时使用
36 
37  $onlinehold = 900; // time span of online recording
38  // 在线保持时间,单位?
39 
40  $pconnect = true; // persistent database connection, 0=off, 1=on
41  // 数据库持久连?false=关闭, true=打开
42 
43  $gamefounder = 'Amarillo_NMC'; // super administrator's UID
44  // 游戏创始?UID, 可以支持多个创始人,之间使用 ??分隔?
45  // 如果不设置游戏创始人,则管理员之间可以相互编辑,具体权力差别请见游戏使用文档
46 
47  $postinterval = 1; //用户提交命令的间隔时间,单位?
48 
49  $moveut = 8; //set the difference of server time and client time
50  //如果本地时间跟服务器时间有时差,在此处更?
51 
52  $moveutmin = 0; //set the difference of server time and client time, by minutes
53  //如果本地时间跟服务器时间有时差,在此处更?
54 
55 // [EN] !ATTENTION! Do NOT modify following after your board was settle down
56 // [CH] 游戏投入使用后不能修改的变量
57 
58  $tablepre = 'acbra3_'; // 表名前缀, 同一数据库安装多个游戏请修改此处
59  // table prefix, modify this when you are installingmore than 1 Discuz! in the same database.
60 
61  $authkey = 'bra'; //game encrypt key ,the same of plus key
62  //游戏加密密钥,要与插件密钥相?
63 
64 // [EN] !ATTENTION! Preservation or debugging for developing
65 // [CH] 切勿修改以下变量,仅供程序开发调试用!
66 
67  $database = 'mysql'; // 'mysql' for MySQL version and 'pgsql' for PostgreSQL version
68  // MySQL 版本请设?'mysql', PgSQL 版本请设?'pgsql'
69 
70  $charset = 'utf-8'; // default character set, 'gbk', 'big5', 'utf-8' are available
71  // 游戏默认字符? 可?'gbk', 'big5', 'utf-8'
72 
73  $dbcharset = 'utf8'; // default database character set, 'gbk', 'big5', 'utf8', 'latin1' and blank are available
74  // MySQL 字符? 可?'gbk', 'big5', 'utf8', 'latin1', 留空为按照游戏字符集设定
75 
76  $attackevasive = 0; // protect against attacks via common request, 0=off, 1=cookie refresh limitation, 2=deny proxy request, 3=both
77  // 防护大量正常请求造成的拒绝服务攻? 0=关闭, 1=cookie 刷新限制, 2=限制代理访问, 3=cookie+代理限制 $tplrefresh = 1; // auto check validation of templates, 0=off, 1=on // 模板自动刷新开?0=关闭, 1=打开, 在不修改页面的情况下可以关闭 $bbsurl = 'http://76573.org/'; //the bbs url for the game plus //安装游戏插件的论坛地址 $gameurl = 'http://lg.dianbo.me/'; // the url of game program files,for the full-window mode //游戏程序地址,用于全屏模? $homepage = 'http://www.amarilloviridian.com/'; // game homepage //官方网站地址 $title = '电 波 大 逃 杀'; //game title //游戏标题 $errorinfo = 0; //是否开启错误信息提示,1为开启,0为关闭。开启会泄漏游戏安装路径 // ============================================================================ ?>
78 
79  $tplrefresh = 1; // auto check validation of templates, 0=off, 1=on
80  // 模板自动刷新开?0=关闭, 1=打开, 在不修改页面的情况下可以关闭 $bbsurl = 'http://76573.org/'; //the bbs url for the game plus //安装游戏插件的论坛地址 $gameurl = 'http://lg.dianbo.me/'; // the url of game program files,for the full-window mode //游戏程序地址,用于全屏模? $homepage = 'http://www.amarilloviridian.com/'; // game homepage //官方网站地址 $title = '电 波 大 逃 杀'; //game title //游戏标题 $errorinfo = 0; //是否开启错误信息提示,1为开启,0为关闭。开启会泄漏游戏安装路径 // ============================================================================ ?>
81 
82  $bbsurl = 'http://76573.org/'; //the bbs url for the game plus
83  //安装游戏插件的论坛地址
84 
85  $gameurl = 'http://lg.dianbo.me/'; // the url of game program files,for the full-window mode
86  //游戏程序地址,用于全屏模?
87 
88  $homepage = 'http://www.amarilloviridian.com/'; // game homepage
89  //官方网站地址
90 
91  $title = '电 波 大 逃 杀'; //game title
92  //游戏标题 $errorinfo = 0; //是否开启错误信息提示,1为开启,0为关闭。开启会泄漏游戏安装路径 // ============================================================================ ?>
93 
94  $errorinfo = 0; //是否开启错误信息提示,1为开启,0为关闭。开启会泄漏游戏安装路径
95 
96 
97 // ============================================================================
98 
99 ?>
$tablepre
Definition: config.inc.php:58
$homepage
Definition: config.inc.php:88
$bbsurl
Definition: config.inc.php:82
$database
Definition: config.inc.php:67
$dbcharset
Definition: config.inc.php:73
$postinterval
Definition: config.inc.php:47
$title
Definition: config.inc.php:91
$moveutmin
Definition: config.inc.php:52
$dbpw
Definition: config.inc.php:12
$headercharset
Definition: config.inc.php:34
$dbreport
Definition: config.inc.php:18
$moveut
Definition: config.inc.php:49
$cookiedomain
Definition: config.inc.php:24
$gamefounder
Definition: config.inc.php:43
$errorinfo
Definition: config.inc.php:94
$charset
Definition: config.inc.php:70
$attackevasive
Definition: config.inc.php:76
$tplrefresh
Definition: config.inc.php:79
$dbhost
Definition: config.inc.php:6
$dbuser
Definition: config.inc.php:9
$cookiepath
Definition: config.inc.php:27
$pconnect
Definition: config.inc.php:40
$dbname
Definition: config.inc.php:15
$gameurl
Definition: config.inc.php:85
$onlinehold
Definition: config.inc.php:37
$authkey
Definition: config.inc.php:61