We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 8.0.26 (cli) (built: Apr 27 2023 00:18:17) ( NTS ) 5.10.16.3-microsoft-standard-WSL2 Laravel Framework Lumen (8.3.4) (Laravel Components ^8.0) "rap2hpoutre/laravel-log-viewer": "^2.3"
因为 \ 的原因,在 linux 绝对路径会失败,导致再次拼接路径。
\
linux
解决: 所有 \\ 换成 /
\\
/
解决: 先判断是否存在目录
$fullPath = file_exists($folder) ? $folder : $this->storage_path . '/' . $folder;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我的配置
找不到日志路径
因为
\
的原因,在linux
绝对路径会失败,导致再次拼接路径。解决:
所有
\\
换成/
进入子目录失败
解决:
先判断是否存在目录
The text was updated successfully, but these errors were encountered: