config.dev.inc.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. define("CALL_LOG_KEY", "logstash:dw#1");
  25. define("URL_CDN", '/');
  26. define("URL_IPS", '/');
  27. // webpush
  28. define('MESSAGING_PRIVATE_KEY', 'u6CKkk1-8dnejuOs7twd65KDCgVTz2BQt1pDIsW-Rjc');
  29. define('MESSAGING_PUBLIC_KEY', 'BAEJLGwWlflC8M1aN2Xj2GEwNp5_2Lv_-yjm29XVT93nbgdZkSH4pqDYKx60wjt0oyUg1Fw_LlEfs3i3-Lgi2yw');
  30. define('URL_SELF', '//test.mee.chat');
  31. define('CHAT_SERVER_ID', 1);
  32. define('BOT_ID', 876045455);
  33. define('BOT_CHAT_URL', 'https://t.me/mee_test_bot');
  34. define('BOT_TOKEN', '876045455:AAFHv2QmA-DQ9XOZcSgiXViQfEeEulhkQtA'); // @mee_test_bot
  35. define('TELEGRAM_API_URL', 'https://api.telegram.org/bot'.BOT_TOKEN.'/');
  36. define('TELEGRAM_FILE_URL', 'https://api.telegram.org/file/bot'.BOT_TOKEN.'/');
  37. define('TG_BOT_ID', 999);
  38. //end of script