config.form.inc.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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", "//static.meechat.me/cdn/{$_SERVER['HTTP_HOST']}/");
  28. define("URL_IPS", "//image.meechat.me/ips/{$_SERVER['HTTP_HOST']}/");
  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. //end of script