update laravel config

This commit is contained in:
Khoubza Younes
2020-12-17 07:05:07 +01:00
parent 12f0277802
commit 78f56f8002
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -5,6 +5,7 @@ return array(
'https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js',
'https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/10.10.2/sweetalert2.min.js',
'https://cdnjs.cloudflare.com/ajax/libs/promise-polyfill/8.2.0/polyfill.min.js',
'/vendor/flasher/flasher-sweet-alert.js',
),
'styles' => array(
'https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css',
+2 -1
View File
@@ -36,7 +36,8 @@ class Laravel implements ServiceProviderInterface
*/
public function boot(FlasherSweetAlertServiceProvider $provider)
{
$provider->publishes(array(flasher_path(__DIR__.'/../../Resources/config/config.php') => config_path('flasher_sweet_alert.php')), 'config');
$provider->publishes(array(flasher_path(__DIR__.'/../../Resources/config/config.php') => config_path('flasher_sweet_alert.php')), 'flasher-config');
$provider->publishes(array(flasher_path(__DIR__.'/../../Resources/public') => public_path(flasher_path('vendor/flasher'))), 'flasher-public');
}
/**