config.dev.inc.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. define('DEBUG', true);
  3. define('ENV', ENV_DEV);
  4. $GLOBALS['walletName'] = 'sicbosmartcowallet';
  5. $GLOBALS['URL_DICE'] = 'http://test-sicbo.duowan.com/';
  6. $GLOBALS['URL_BOX'] = 'http://test-box.eosget.io/';
  7. $GLOBALS['FIRE_BASE_KEY'] = 'CMkZdX3MV9zVejrENenKBeT4hC1M_qJsFhfF1IIPCEs';
  8. $GLOBALS['verifyPath'] = '/data/webapps/test-sicboapi.duowan.com/verify.js';
  9. if (defined('IS_ENV_LOCAL')) {
  10. $GLOBALS['verifyPath'] = BASE_DIR . '../api/verify.js';
  11. }
  12. $path = '';
  13. if (@$GLOBALS['IS_WEB_DEV']) {
  14. $path = '/data/webapps/dice_conf';
  15. } else {
  16. $path = BASE_DIR . '../dice_conf';
  17. }
  18. $GLOBALS['walletPwd'] = trim(file_get_contents("{$path}/wallet_pwd.txt"));
  19. $GLOBALS['robotPwd'] = trim(file_get_contents("{$path}/robot_pwd.txt"));
  20. //$GLOBALS['eosgetadminPwd'] = trim(file_get_contents("{$path}/eosgetadmin_pwd.txt"));
  21. $GLOBALS['publicKeyAdmin'] = 'EOS5UJR2Np5NPaAJaNpew5aQBRpEKdKBKftPcWhA5fngx3mrax2Bp';
  22. //$GLOBALS['eosUrl'] = 'https://api.jungle.alohaeos.com/';
  23. //https://localnet.eosget.io/
  24. $GLOBALS['eosProtocol'] = 'https';
  25. $GLOBALS['eosHost'] = 'localnet.eosget.io';
  26. $GLOBALS['eosPort'] = 443;
  27. $GLOBALS['eosUrl'] = "{$GLOBALS['eosProtocol']}://{$GLOBALS['eosHost']}:{$GLOBALS['eosPort']}/";
  28. define("CALL_LOG_KEY", "logstash:dw#1");
  29. define("URL_CDN", '/');
  30. define('URL_SICBO', 'http://test-sicbo.duowan.com/');
  31. //define('URL_SICBO', 'http://sicbopc.webdev2.duowan.com/');
  32. //webpush
  33. define('MESSAGING_PRIVATE_KEY', 'u6CKkk1-8dnejuOs7twd65KDCgVTz2BQt1pDIsW-Rjc');
  34. define('MESSAGING_PUBLIC_KEY', 'BAEJLGwWlflC8M1aN2Xj2GEwNp5_2Lv_-yjm29XVT93nbgdZkSH4pqDYKx60wjt0oyUg1Fw_LlEfs3i3-Lgi2yw');
  35. //end of script