From: Vincent Vanwaelscappel Date: Wed, 26 Jun 2019 14:08:11 +0000 (+0200) Subject: #2843 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=8fcae3c87e395f1cf223c05d19446912d141e945;p=cubist_cms-back.git #2843 --- diff --git a/src/app/helpers.php b/src/app/helpers.php index e239dac..256dd19 100644 --- a/src/app/helpers.php +++ b/src/app/helpers.php @@ -15,6 +15,10 @@ if (!function_exists('vendor_asset')) { } 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); } diff --git a/src/resources/views/fields/bunch_multiple.blade.php b/src/resources/views/fields/bunch_multiple.blade.php index 32eec18..58bbc60 100644 --- a/src/resources/views/fields/bunch_multiple.blade.php +++ b/src/resources/views/fields/bunch_multiple.blade.php @@ -46,12 +46,12 @@ $unique = 'bunchmultiple_' . rand(1, 100000); {{-- FIELD CSS - will be loaded in the after_styles section --}} @push('crud_fields_styles') - + @endpush {{-- FIELD JS - will be loaded in the after_scripts section --}} @push('crud_fields_scripts') - + @endpush @endif