liufumingren dedb18a80c fix(wms): split_excel 导出目录不可写时给出可执行的修复提示
现象:返回 "fopen(.../public/export/xxx.xlsx): failed to open stream: Permission denied"。
public/export 目录属主/权限不允许 PHP 运行用户写入。

改动:
- 目录不存在时 mkdir(0777);不可写时先 @chmod(0777) 尝试自愈
- 仍不可写则返回明确信息:目录、属主、权限、PHP 运行用户,并附带
  chown -R www:www <dir> && chmod -R 775 <dir> 的修复命令
- posix 信息获取做 is_array 保护,避免取不到用户时再抛 notice

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-22 21:06:55 +08:00
..
2026-08-06 17:04:35 +08:00
2026-08-06 17:04:35 +08:00
2026-08-06 17:04:35 +08:00
2026-10-12 17:34:58 +08:00
2026-08-06 17:04:35 +08:00