config.new.inc.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. define('DEBUG', true);
  3. define('ENV', ENV_NEW);
  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', '//new.mee.chat');
  28. define('CHAT_SERVER_ID', 10000);
  29. define('BOT_ID', 707115334);
  30. define('BOT_CHAT_URL', 'https://t.me/meechatbot');
  31. define('BOT_TOKEN', '707115334:AAEOgIzqs2ggi711tK3wgyipqcH8vh3oi6s'); // @mee_test_bot
  32. define('TELEGRAM_API_URL', 'https://api.telegram.org/bot'.BOT_TOKEN.'/');
  33. define('TELEGRAM_FILE_URL', 'https://api.telegram.org/file/bot'.BOT_TOKEN.'/');
  34. define('TG_BOT_ID', 999);
  35. //end of script