问答 / 807 / 2 / 创建于 5年前
图片上传是中文名,成功了,但是显示不出来了。
I fixed it in the following way: Added next string in file bootstrap/app.php:
setlocale(LC_ALL,'en_US.UTF-8'); after code:
$app = new Illuminate\Foundation\Application( realpath(DIR.'/../') ); After it medialibrary working good! :)
那你确定一下是中文的问题,还是你代码的问题。如果是中文的问题,查查文档看看能不能自定义名称
我要举报该,理由是:
推荐文章: