From 8e86d780bfb556b55753455f704b138aba9e21e0 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 23 May 2019 17:08:51 -0700 Subject: [PATCH] Fix for included files in backup --- config/backup.php | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/config/backup.php b/config/backup.php index 137410f4d0..ae8a7367e0 100644 --- a/config/backup.php +++ b/config/backup.php @@ -1,5 +1,19 @@ [ @@ -17,14 +31,7 @@ return [ /* * The list of directories and files that will be included in the backup. */ - 'include' => [ - base_path('public/uploads'), - base_path('config'), - base_path('storage/private_uploads'), - base_path('storage/oauth-private.key'), - base_path('storage/oauth-public.key'), - // (env('BACKUP_ENV')=='true') ? base_path('.env') : '', - ], + 'include' => $included_dirs, /* * These directories and files will be excluded from the backup. @@ -34,7 +41,6 @@ return [ 'exclude' => [ base_path('vendor'), base_path('node_modules'), - //storage_path('app/backup-temp'), ], /*