config.new.inc.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. define('DEBUG', true);
  3. define('ENV', ENV_NEW);
  4. $GLOBALS['walletName'] = 'eosget';
  5. $GLOBALS['URL_DICE'] = 'https://new-dice.eosget.io/';
  6. $GLOBALS['URL_BOX'] = 'https://new-box.eosget.io/';
  7. $GLOBALS['FIRE_BASE_PRI_KEY'] = 'X_hdaICpObuXWiqBRIOjc2f1KWjxlJEKg6bQY5sMTkc';
  8. //$ip = __getInternalIp();
  9. $path = '/data/webapps/dice_conf';
  10. $GLOBALS['walletPwd'] = trim(file_get_contents("{$path}/wallet_pwd.txt"));
  11. //$GLOBALS['eosgetadminPwd'] = trim(file_get_contents("{$path}/eosgetadmin_pwd.txt"));
  12. //$GLOBALS['verifyPath'] = '/data/webapps/new-ws-dice.eosget.io/verify.js';
  13. $GLOBALS['verifyPath'] = '/data/webapps/ws-dice.eosget.io/verify.js';
  14. $GLOBALS['publicKeyAdmin'] = 'EOS7T2QLXGNnpkSdqAWNivGgXkjWjjGSvAoAvgQShhwpTa7dUvWfJ';
  15. //$GLOBALS['eosUrl'] = 'https://nodes.get-scatter.com/';
  16. // https://proxy.eosnode.tools/v1/chain/get_info
  17. //https://api.eosn.io:443
  18. $GLOBALS['eosProtocol'] = 'https';
  19. $GLOBALS['eosHost'] = 'proxy.eosnode.tools';
  20. //$GLOBALS['eosHost'] = 'nodes.get-scatter.com';
  21. $GLOBALS['eosPort'] = 443;
  22. if ($GLOBALS['eosProtocol'] == 'https' && $GLOBALS['eosPort'] == 443) {
  23. $GLOBALS['eosUrl'] = "{$GLOBALS['eosProtocol']}://{$GLOBALS['eosHost']}/";
  24. } else {
  25. $GLOBALS['eosUrl'] = "{$GLOBALS['eosProtocol']}://{$GLOBALS['eosHost']}:{$GLOBALS['eosPort']}/";
  26. }
  27. define('CALL_LOG_REDIS', 'logstash_aws');
  28. define("CALL_LOG_KEY", "logstash:redis");
  29. define("URL_CDN", "//static.meechat.me/cdn/{$_SERVER['HTTP_HOST']}/");
  30. define("URL_IPS", "//image.meechat.me/ips/{$_SERVER['HTTP_HOST']}/");
  31. //webpush
  32. define('MESSAGING_PRIVATE_KEY', 'VaWG-r7hYLlWApB3vwGj0Pp4KhzVx5NibCVWSiOjm8A');
  33. define('MESSAGING_PUBLIC_KEY', 'BNan2ZkZRV6skCmS9rAJx5jb0eZgjo1-hmil3ZkhJs20yDOpBpEFaV9p1mag6KfBItZdzCT9-8pt15GSIIGV5DE');
  34. define('URL_SICBO', 'https://new-dice.eosget.io/');
  35. //end of script