config.inc.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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['codeMeeMO'] = 'meechat.m'; // MeetOne侧链
  12. $GLOBALS['nameServ_php'] = [
  13. 'globals',
  14. 'code',
  15. 'r2m',
  16. ];
  17. $GLOBALS['r2mMode'] = 'lib';
  18. // 亚马逊云服务特殊处理
  19. //$_SERVER['HTTP_X_REAL_IP'] = $_SERVER['HTTP_X_FORWARDED_FOR'];
  20. $GLOBALS['rewrite'] = array(
  21. '404.html' => 'default/notFound',
  22. 'robots.txt' => 'default/robots',
  23. 'sw.js' => 'default/sw',
  24. 'mini.html' => 'default/mini',
  25. 'index.html' => 'default/index',
  26. 'pc.html' => 'default/pc',
  27. 'h5.html' => 'default/h5',
  28. 's/<group_name>' => 'default/share',
  29. 'manifest_<type>.json' => 'default/manifest',
  30. );
  31. // 缓存2个月
  32. $GLOBALS['defaultKey'] = 'dw_chat';
  33. $GLOBALS['dbNumberNative'] = true;
  34. //end of script