config.inc.php 930 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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('BUCKET_MEE_TMP', 'mee.tmp'); // 临时桶,存30天
  7. define('AES_KEY', 'TGVdTH23RJM2NvsG');
  8. define('CDN_HOST', 'w2.meechat.me');
  9. define('CDN_HOST_TMP', 'w3.meechat.me');
  10. $GLOBALS['codeMee'] = 'meechatadmin';
  11. $GLOBALS['nameServ_php'] = [
  12. 'globals',
  13. 'code',
  14. 'r2m',
  15. ];
  16. $GLOBALS['r2mMode'] = 'lib';
  17. // 亚马逊云服务特殊处理
  18. //$_SERVER['HTTP_X_REAL_IP'] = $_SERVER['HTTP_X_FORWARDED_FOR'];
  19. $GLOBALS['rewrite'] = array(
  20. '404.html' => 'default/notFound',
  21. 'robots.txt' => 'default/robots',
  22. 'sw.js' => 'default/sw',
  23. 'mini.html' => 'default/mini',
  24. 's/<group_name>' => 'default/share',
  25. );
  26. // 缓存2个月
  27. $GLOBALS['defaultKey'] = 'dw_chat';
  28. $GLOBALS['dbNumberNative'] = true;
  29. //end of script