Skip to content
New issue

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

获取文件后缀 #2

Open
sololibra opened this issue Jul 11, 2022 · 0 comments
Open

获取文件后缀 #2

sololibra opened this issue Jul 11, 2022 · 0 comments

Comments

@sololibra
Copy link

如果文件信息为url,并且url不包含文件后缀(例如微信头像url),\File::extension()不能很好的获取到文件后缀.当然,通过继承和复写makeFileName方法可以解决.
另外,makeStorePath,设置相对路径,是否可通过读取config->filesysterm.php配置文件相应驱动root参数替代呢?这样可以更好地兼容第三方云存储驱动
1657534251165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant