config.form.inc.php 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?php
  2. define('DEBUG', false);
  3. define('ENV', ENV_FORMAL);
  4. $GLOBALS['FIRE_BASE_PRI_KEY'] = 'X_hdaICpObuXWiqBRIOjc2f1KWjxlJEKg6bQY5sMTkc';
  5. $GLOBALS['verifyPath'] = '/data/webapps/ws.mee.chat/verify.js';
  6. $GLOBALS['tronVerifyPath'] = '/data/webapps/ws.mee.chat/verifyTron.js';
  7. $GLOBALS['publicKeyAdmin'] = 'EOS7T2QLXGNnpkSdqAWNivGgXkjWjjGSvAoAvgQShhwpTa7dUvWfJ';
  8. $GLOBALS['walletName'] = 'meechat';
  9. $path = '/data/webapps/dice_conf';
  10. $GLOBALS['walletPwd'] = trim(file_get_contents("{$path}/{$GLOBALS['walletName']}_pwd.txt"));
  11. $GLOBALS['eosProtocol'] = 'https';
  12. $GLOBALS['eosHost'] = 'proxy.eosnode.tools';
  13. $GLOBALS['eosPort'] = 443;
  14. if ($GLOBALS['eosProtocol'] == 'https' && $GLOBALS['eosPort'] == 443) {
  15. $GLOBALS['eosUrl'] = "{$GLOBALS['eosProtocol']}://{$GLOBALS['eosHost']}/";
  16. } else {
  17. $GLOBALS['eosUrl'] = "{$GLOBALS['eosProtocol']}://{$GLOBALS['eosHost']}:{$GLOBALS['eosPort']}/";
  18. }
  19. define("CALL_LOG_KEY", "logstash:redis");
  20. //define("URL_CDN", "//w5.dwstatic.com/cdn/{$_SERVER['HTTP_HOST']}/");
  21. define("URL_CDN", '/');
  22. $GLOBALS['dbInfo']['dw_chat'] = array (
  23. 'dbHost' => 'eos-mysql.cg0bhowjab41.ap-northeast-1.rds.amazonaws.com',
  24. 'dbPort' => '6301',
  25. 'dbName' => 'dw_chat',
  26. 'dbPass' => 'wanheblcgame',
  27. 'dbType' => 'mysqli',
  28. 'dbUser' => 'blcgame_rw',
  29. 'enable' => '1',
  30. );
  31. $GLOBALS['dbInfo']['dw_eos'] = array (
  32. 'dbHost' => 'eos-mysql.cg0bhowjab41.ap-northeast-1.rds.amazonaws.com',
  33. 'dbPort' => '6301',
  34. 'dbName' => 'dw_eos',
  35. 'dbPass' => 'wanheblcgame',
  36. 'dbType' => 'mysqli',
  37. 'dbUser' => 'blcgame_rw',
  38. 'enable' => '1',
  39. );
  40. $GLOBALS['redisInfo']['dw_chat'] = array (
  41. 'host' => 'redis3.6qgi3s.0001.apne1.cache.amazonaws.com',
  42. 'port' => '6379',
  43. );
  44. $GLOBALS['redisInfo']['logstash_redis'] = array (
  45. 'host' => 'redis1.6qgi3s.0001.apne1.cache.amazonaws.com',
  46. 'port' => '6380',
  47. 'connect_timeout' => '1',
  48. );
  49. //webpush
  50. define('MESSAGING_PRIVATE_KEY', 'VaWG-r7hYLlWApB3vwGj0Pp4KhzVx5NibCVWSiOjm8A');
  51. define('MESSAGING_PUBLIC_KEY', 'BNan2ZkZRV6skCmS9rAJx5jb0eZgjo1-hmil3ZkhJs20yDOpBpEFaV9p1mag6KfBItZdzCT9-8pt15GSIIGV5DE');
  52. define('URL_SELF', '//mee.chat');
  53. //end of script