config.inc.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. 'index.html' => 'default/index',
  25. 'pc.html' => 'default/pc',
  26. 'h5.html' => 'default/h5',
  27. 's/<group_name>' => 'default/share',
  28. 'manifest_<type>.json' => 'default/manifest',
  29. );
  30. // 缓存2个月
  31. $GLOBALS['defaultKey'] = 'dw_chat';
  32. $GLOBALS['dbNumberNative'] = true;
  33. //end of script