}
if (!file_exists($dest) || filemtime($local) > filemtime($dest) || filesize($local) != filesize($dest)) {
+ $dir = dirname($dest);
+ if (!file_exists($dir)) {
+ mkdir($dir, 0777, true);
+ }
copy($local, $dest);
}
{{-- FIELD CSS - will be loaded in the after_styles section --}}
@push('crud_fields_styles')
- <link rel="stylesheet" type="text/css" href="{{ vendor_asset('vendor/cubist/backpack/bunchmultiple/bunchmultiple.css') }}">
+ <link rel="stylesheet" type="text/css" href="{{ vendor_asset('vendor/cubist/cms-back/bunchmultiple/bunchmultiple.css') }}">
@endpush
{{-- FIELD JS - will be loaded in the after_scripts section --}}
@push('crud_fields_scripts')
- <script type="text/javascript" src="{{ vendor_asset('vendor/cubist/backpack/bunchmultiple/bunchmultiple.js') }}"></script>
+ <script type="text/javascript" src="{{ vendor_asset('vendor/cubist/cms-back/bunchmultiple/bunchmultiple.js') }}"></script>
@endpush
@endif