config.form.inc.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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_REDIS', 'logstash_aws');
  20. define("CALL_LOG_KEY", "logstash:redis");
  21. //define("URL_CDN", "//w5.dwstatic.com/cdn/{$_SERVER['HTTP_HOST']}/");
  22. define("URL_CDN", "//static.meechat.me/cdn/{$_SERVER['HTTP_HOST']}/");
  23. define("URL_IPS", "//image.meechat.me/ips/{$_SERVER['HTTP_HOST']}/");
  24. //webpush
  25. define('MESSAGING_PRIVATE_KEY', 'VaWG-r7hYLlWApB3vwGj0Pp4KhzVx5NibCVWSiOjm8A');
  26. define('MESSAGING_PUBLIC_KEY', 'BNan2ZkZRV6skCmS9rAJx5jb0eZgjo1-hmil3ZkhJs20yDOpBpEFaV9p1mag6KfBItZdzCT9-8pt15GSIIGV5DE');
  27. define('URL_SELF', '//mee.chat');
  28. define('CHAT_SERVER_ID', 10000);
  29. //end of script