config.dev.inc.php 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. //end of script