config.form.inc.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. // MeetOne侧链
  20. $GLOBALS['eosxURL'] = 'https://fullnode.meet.one/';
  21. define('CALL_LOG_REDIS', 'logstash_aws');
  22. define("CALL_LOG_KEY", "logstash:redis");
  23. //define("URL_CDN", "//w5.dwstatic.com/cdn/{$_SERVER['HTTP_HOST']}/");
  24. define("URL_CDN", "//static.meechat.me/cdn/{$_SERVER['HTTP_HOST']}/");
  25. define("URL_IPS", "//image.meechat.me/ips/{$_SERVER['HTTP_HOST']}/");
  26. //webpush
  27. define('MESSAGING_PRIVATE_KEY', 'VaWG-r7hYLlWApB3vwGj0Pp4KhzVx5NibCVWSiOjm8A');
  28. define('MESSAGING_PUBLIC_KEY', 'BNan2ZkZRV6skCmS9rAJx5jb0eZgjo1-hmil3ZkhJs20yDOpBpEFaV9p1mag6KfBItZdzCT9-8pt15GSIIGV5DE');
  29. define('URL_SELF', '//mee.chat');
  30. define('CHAT_SERVER_ID', 10000);
  31. define('BOT_ID', 707115334);
  32. define('BOT_CHAT_URL', 'https://t.me/meechatbot');
  33. define('BOT_TOKEN', '707115334:AAEOgIzqs2ggi711tK3wgyipqcH8vh3oi6s'); // @mee_test_bot
  34. define('TELEGRAM_API_URL', 'https://api.telegram.org/bot'.BOT_TOKEN.'/');
  35. define('TELEGRAM_FILE_URL', 'https://api.telegram.org/file/bot'.BOT_TOKEN.'/');
  36. define('TG_BOT_ID', 999);
  37. //end of script