From 6dc5c317f887ffee36c3a813b1cf6ee8e7baa0e4 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Tue, 14 May 2024 09:54:16 +0100 Subject: [PATCH 1/3] Use existing config for Form Submissions Stache path --- config/stache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/stache.php b/config/stache.php index 71044d5ab30..1733ae5140a 100644 --- a/config/stache.php +++ b/config/stache.php @@ -91,7 +91,7 @@ 'form-submissions' => [ 'class' => Stores\SubmissionsStore::class, - 'directory' => storage_path('forms'), + 'directory' => config('statamic.forms.submissions'), ], ], From f977ad39fccfcc194d3639c16c88b36503ddfec1 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Tue, 14 May 2024 15:29:56 +0100 Subject: [PATCH 2/3] Revert "Use existing config for Form Submissions Stache path" This reverts commit 6dc5c317f887ffee36c3a813b1cf6ee8e7baa0e4. --- config/stache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/stache.php b/config/stache.php index 1733ae5140a..71044d5ab30 100644 --- a/config/stache.php +++ b/config/stache.php @@ -91,7 +91,7 @@ 'form-submissions' => [ 'class' => Stores\SubmissionsStore::class, - 'directory' => config('statamic.forms.submissions'), + 'directory' => storage_path('forms'), ], ], From c22318e37d961afeaa3aea7923cd5bd81b49e34c Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Tue, 14 May 2024 15:30:17 +0100 Subject: [PATCH 3/3] Remove `forms.submissions` config option --- config/forms.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/config/forms.php b/config/forms.php index f2e1f23f6f4..c2d434f0289 100644 --- a/config/forms.php +++ b/config/forms.php @@ -13,17 +13,6 @@ 'forms' => resource_path('forms'), - /* - |-------------------------------------------------------------------------- - | Submissions Path - |-------------------------------------------------------------------------- - | - | Where your form submissions are stored. - | - */ - - 'submissions' => storage_path('forms'), - /* |-------------------------------------------------------------------------- | Email View Folder