config.inc.php 751 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. define('PROJECT_NAME', "chat");
  3. define('AWS_ACCESS_KEY', 'AKIAIURLKDGZMY2DYQYQ');
  4. define('AWS_SECRET_KEY', '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');
  5. define('BUCKET_MEE', 'mee.chat');
  6. define('AES_KEY', 'TGVdTH23RJM2NvsG');
  7. define('CDN_HOST', 'w2.meechat.me');
  8. $GLOBALS['codeMee'] = 'meechatadmin';
  9. $GLOBALS['nameServ_php'] = [
  10. 'globals',
  11. 'code',
  12. 'r2m',
  13. ];
  14. $GLOBALS['r2mMode'] = 'lib';
  15. // 亚马逊云服务特殊处理
  16. //$_SERVER['HTTP_X_REAL_IP'] = $_SERVER['HTTP_X_FORWARDED_FOR'];
  17. $GLOBALS['rewrite'] = array(
  18. '404.html' => 'default/notFound',
  19. 'robots.txt' => 'default/robots',
  20. 'sw.js' => 'default/sw',
  21. 'mini.html' => 'default/mini',
  22. );
  23. // 缓存2个月
  24. $GLOBALS['defaultKey'] = 'dw_chat';
  25. //end of script