my.php 1.8 KB

12345678910111213141516171819202122232425262728
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | ThinkPHP [ WE CAN DO IT JUST THINK ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
  8. // +----------------------------------------------------------------------
  9. // | Author: liu21st <liu21st@gmail.com>
  10. // +----------------------------------------------------------------------
  11. // +----------------------------------------------------------------------
  12. // | 自定义配置
  13. // +----------------------------------------------------------------------
  14. return [
  15. 'app_v2' =>'xm_ma'.'ll',
  16. 'app_v3' =>'xm_ma'.'llv3',
  17. 'app_v6' =>'xm_ma'.'llv6',
  18. 'upload_subdir' => 'Ym', //文件上传二级目录 标准的日期格式
  19. 'nocheck' => ['admin/Login/index','admin/Login/sitesetup','admin/Login/logout'], //不需要验证权限的url
  20. 'testnoupdate' => ['admin/config/update','admin/diypage/update','admin/diypage/setindex','admin/diypage/setaudit','admin/diypage/delete','admin/registerfield/listUpdate','admin/registerfield/update','admin/registerfield/delete','admin/Category/delete','admin/goods/delete','admin/member/delete','admin/Upgrade/index'], //演示站不能修改的url
  21. 'error_log_code' => 500, //写入日志的状态码
  22. 'dump_extension' => 'xlsx', //默认导出格式
  23. 'filetype' => 'jpg,jpeg,png,gif,mp4,3gp,m3u8,doc,docx,xls,xlsx,pem', //上传文件文件类型
  24. 'filesize' => 50, //上传文件最大限制(M)
  25. 'check_file_status' => true, //上传图片是否检测图片存在
  26. 'authkey' => '655ac7fe', //密码加密附加码
  27. ];