Open yjqphp opened 1 year ago
模版里面随处可见这样的写法:
<img src="{{ app.request.scheme ~'://' ~ app.request.httpHost ~ asset('') }}{{ websiteDetails.logo }}" title="{{ websiteDetails.name }}">
这种写法只支持本地上传驱动:Webkul\UVDesk\CoreFrameworkBundle\FileSystem\UploadManagers\Localhost
Webkul\UVDesk\CoreFrameworkBundle\FileSystem\UploadManagers\Localhost
如果我需要拓展驱动,存放到单独的图片服务器,这种情况就需要我改动模版里面每一处类似这样的写法。
Open source: https://github.com/dustin10/VichUploaderBundle
模版里面随处可见这样的写法:
<img src="{{ app.request.scheme ~'://' ~ app.request.httpHost ~ asset('') }}{{ websiteDetails.logo }}" title="{{ websiteDetails.name }}">
这种写法只支持本地上传驱动:
Webkul\UVDesk\CoreFrameworkBundle\FileSystem\UploadManagers\Localhost
如果我需要拓展驱动,存放到单独的图片服务器,这种情况就需要我改动模版里面每一处类似这样的写法。