12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php
- define('PROJECT_NAME', "horse");
- $GLOBALS['codeBaccarat'] = 'eosgetbaccar';
- $GLOBALS['codeGtAdmin'] = 'eosgetadmin1';
- $GLOBALS['codeAdmin'] = 'eosgetdice12';
- $GLOBALS['robotBetAdmin'] = 'rdttod4ta4u2';//机器人下注专用出纳员
- $GLOBALS['robotWalletName'] = 'robot';
- $GLOBALS['nameServ_php'] = [
- 'globals',
- 'code',
- 'r2m',
- ];
- $GLOBALS['r2mMode'] = 'lib';
- // eos平台的数据库
- if (isset($GLOBALS['dbInfo'])) {
- // 正式环境和new环境用到
- $GLOBALS['dbInfo']['dw_eos'] = $GLOBALS['dbInfo']['dw_dice'] ?: $GLOBALS['dbInfo']['dw_box'];
- $GLOBALS['dbInfo']['dw_eos']['dbName'] = 'dw_eos';
- // 数据相关的数据库
- $GLOBALS['dbInfo']['dw_eos_data'] = $GLOBALS['dbInfo']['dw_dice'] ?: $GLOBALS['dbInfo']['dw_box'];
- $GLOBALS['dbInfo']['dw_eos_data']['dbName'] = 'data_report';
- // 数据相关的缓存
- $GLOBALS['redisInfo']['dw_eos_data'] = $GLOBALS['redisInfo']['logstash_redis'];
- }
- // 亚马逊云服务特殊处理
- //$_SERVER['HTTP_X_REAL_IP'] = $_SERVER['HTTP_X_FORWARDED_FOR'];
- $GLOBALS['rewrite'] = array(
- '404.html' => 'default/notFound',
- 'robots.txt' => 'default/robots',
- );
- // 缓存2个月
- $GLOBALS['defaultKey'] = 'dw_horse';
- //$GLOBALS['dbNumberNative'] = true;
- //end of script
|