config.form.inc.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. define('DEBUG', false);
  3. define('ENV', ENV_FORMAL);
  4. $GLOBALS['walletName'] = 'eosget';
  5. $GLOBALS['URL_DICE'] = 'https://dice.eosget.io/';
  6. $GLOBALS['URL_BOX'] = 'https://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/ws-dice.eosget.io/verify.js';
  13. $GLOBALS['publicKeyAdmin'] = 'EOS7T2QLXGNnpkSdqAWNivGgXkjWjjGSvAoAvgQShhwpTa7dUvWfJ';
  14. //$GLOBALS['eosUrl'] = 'https://nodes.get-scatter.com/';
  15. //https://api.eosn.io:443
  16. $GLOBALS['eosProtocol'] = 'https';
  17. $GLOBALS['eosHost'] = 'proxy.eosnode.tools';
  18. //$GLOBALS['eosHost'] = 'nodes.get-scatter.com';
  19. $GLOBALS['eosPort'] = 443;
  20. if ($GLOBALS['eosProtocol'] == 'https' && $GLOBALS['eosPort'] == 443) {
  21. $GLOBALS['eosUrl'] = "{$GLOBALS['eosProtocol']}://{$GLOBALS['eosHost']}/";
  22. } else {
  23. $GLOBALS['eosUrl'] = "{$GLOBALS['eosProtocol']}://{$GLOBALS['eosHost']}:{$GLOBALS['eosPort']}/";
  24. }
  25. define('CALL_LOG_REDIS', 'logstash_aws');
  26. define("CALL_LOG_KEY", "logstash:redis");
  27. //define("URL_CDN", "//w5.dwstatic.com/cdn/{$_SERVER['HTTP_HOST']}/");
  28. define("URL_CDN", '/');
  29. //webpush
  30. define('MESSAGING_PRIVATE_KEY', 'VaWG-r7hYLlWApB3vwGj0Pp4KhzVx5NibCVWSiOjm8A');
  31. define('MESSAGING_PUBLIC_KEY', 'BNan2ZkZRV6skCmS9rAJx5jb0eZgjo1-hmil3ZkhJs20yDOpBpEFaV9p1mag6KfBItZdzCT9-8pt15GSIIGV5DE');
  32. define('URL_SICBO', 'https://dice.eosget.io/');
  33. define('URL_MEECHAT', 'https://mee.chat/');
  34. define('MEE_APP_ID', 'XJQ2Qc24bMJnAZWg9p43JUsH');
  35. define('MEE_APP_SECRET', 'uQhF3M8t3MkNKG2g');
  36. //end of script