config.dev.inc.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php
  2. define('DEBUG', true);
  3. define('ENV', ENV_DEV);
  4. $GLOBALS['FIRE_BASE_KEY'] = 'CMkZdX3MV9zVejrENenKBeT4hC1M_qJsFhfF1IIPCEs';
  5. $GLOBALS['verifyPath'] = '/data/webapps/test-ws.mee.chat/verify.js';
  6. $GLOBALS['tronVerifyPath'] = '/data/webapps/test-ws.mee.chat/verifyTron.js';
  7. if (defined('IS_ENV_LOCAL')) {
  8. $GLOBALS['verifyPath'] = BASE_DIR . '../chat_ws/verify.js';
  9. $GLOBALS['tronVerifyPath'] = BASE_DIR . '../chat_ws/verifyTron.js';
  10. }
  11. $GLOBALS['publicKeyAdmin'] = 'EOS5UJR2Np5NPaAJaNpew5aQBRpEKdKBKftPcWhA5fngx3mrax2Bp';
  12. $GLOBALS['walletName'] = 'meechat';
  13. $path = '';
  14. if (@$GLOBALS['IS_WEB_DEV']) {
  15. $path = '/data/webapps/dice_conf';
  16. } else {
  17. $path = BASE_DIR . '../dice_conf';
  18. }
  19. //$GLOBALS['walletPwd'] = trim(file_get_contents("{$path}/{$GLOBALS['walletName']}_pwd.txt"));
  20. $GLOBALS['eosProtocol'] = 'https';
  21. $GLOBALS['eosHost'] = 'localnet.eosget.io';
  22. $GLOBALS['eosPort'] = 443;
  23. $GLOBALS['eosUrl'] = "{$GLOBALS['eosProtocol']}://{$GLOBALS['eosHost']}:{$GLOBALS['eosPort']}/";
  24. // MeetOne侧链
  25. $GLOBALS['eosxURL'] = $GLOBALS['eosUrl']; //'https://meetone-testnet.eosphere.io/';
  26. define("CALL_LOG_KEY", "logstash:dw#1");
  27. define("URL_CDN", '/');
  28. define("URL_IPS", '/');
  29. // webpush
  30. define('MESSAGING_PRIVATE_KEY', 'u6CKkk1-8dnejuOs7twd65KDCgVTz2BQt1pDIsW-Rjc');
  31. define('MESSAGING_PUBLIC_KEY', 'BAEJLGwWlflC8M1aN2Xj2GEwNp5_2Lv_-yjm29XVT93nbgdZkSH4pqDYKx60wjt0oyUg1Fw_LlEfs3i3-Lgi2yw');
  32. define('URL_SELF', '//test.mee.chat');
  33. define('CHAT_SERVER_ID', 1);
  34. define('BOT_ID', 876045455);
  35. define('BOT_CHAT_URL', 'https://t.me/mee_test_bot');
  36. define('BOT_TOKEN', '876045455:AAFHv2QmA-DQ9XOZcSgiXViQfEeEulhkQtA'); // @mee_test_bot
  37. define('TELEGRAM_API_URL', 'https://api.telegram.org/bot'.BOT_TOKEN.'/');
  38. define('TELEGRAM_FILE_URL', 'https://api.telegram.org/file/bot'.BOT_TOKEN.'/');
  39. define('TG_BOT_ID', 999);
  40. //end of script