diff --git a/config/vuefilemanager.php b/config/vuefilemanager.php index 34ba3c8d..5e18da34 100644 --- a/config/vuefilemanager.php +++ b/config/vuefilemanager.php @@ -5,6 +5,10 @@ return [ 'is_demo' => env('APP_DEMO', false), + 'is_setup_wizard_demo' => env('IS_SETUP_WIZARD_DEMO', false), + 'is_setup_wizard_debug' => env('IS_SETUP_WIZARD_DEBUG', false), + 'is_admin_vuefilemanager_bar' => env('IS_ADMIN_VUEFILEMANAGER_BAR', true), + // Define size of chunk uploaded by MB. // E.g. integer 128 means chunk size will be 128 MB. 'chunk_size' => env('CHUNK_SIZE', '128'), diff --git a/resources/js/components/Others/SelectSingleChargeMethodPopup.vue b/resources/js/components/Others/SelectSingleChargeMethodPopup.vue index c7d97ea1..f96c5dbf 100644 --- a/resources/js/components/Others/SelectSingleChargeMethodPopup.vue +++ b/resources/js/components/Others/SelectSingleChargeMethodPopup.vue @@ -162,6 +162,9 @@ export default { type: 'success', message: this.$t('Your payment was successfully received.'), }) + + // todo: temporary reload function + setTimeout(() => document.location.reload(), 500) }, paystackClosed() { // ... diff --git a/resources/js/components/Subscription/UserStoredPaymentMethods.vue b/resources/js/components/Subscription/UserStoredPaymentMethods.vue index 66495a00..802ec1ce 100644 --- a/resources/js/components/Subscription/UserStoredPaymentMethods.vue +++ b/resources/js/components/Subscription/UserStoredPaymentMethods.vue @@ -142,6 +142,7 @@ export default { }) // TODO: L9 - load credit card after was stored in database + setTimeout(() => document.location.reload(), 500) } this.stripe.storingStripePaymentMethod = false @@ -195,6 +196,6 @@ export default { this.isCreditCardForm = !this.isCreditCardForm this.stripeInit() }, - }, + } } diff --git a/resources/js/views/User/Billing.vue b/resources/js/views/User/Billing.vue index 2728bf37..62700f3d 100644 --- a/resources/js/views/User/Billing.vue +++ b/resources/js/views/User/Billing.vue @@ -104,6 +104,6 @@ export default { }, computed: { ...mapGetters(['config']), - }, + } } diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index bd84c4ac..ed7308ce 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -27,7 +27,7 @@ } @endphp - +
@@ -73,88 +73,88 @@ - @if(env('APP_ENV') !== 'local') + @if(config('app.env') !== 'local') {{--Application production script--}} diff --git a/src/App/Users/Rules/ReCaptchaRules.php b/src/App/Users/Rules/ReCaptchaRules.php index 2de59d0b..97140d8c 100644 --- a/src/App/Users/Rules/ReCaptchaRules.php +++ b/src/App/Users/Rules/ReCaptchaRules.php @@ -20,7 +20,7 @@ class ReCaptchaRules implements Rule 'https://www.google.com/recaptcha/api/siteverify', [ 'form_params' => [ - 'secret' => env('RECAPTCHA_CLIENT_SECRET', false), + 'secret' => config('services.recaptcha.client_secret'), 'remoteip' => request()->getClientIp(), 'response' => $value, ], diff --git a/src/Support/helpers.php b/src/Support/helpers.php index 997e5561..44569bfe 100644 --- a/src/Support/helpers.php +++ b/src/Support/helpers.php @@ -245,7 +245,7 @@ if (! function_exists('get_storage')) { */ function get_storage() { - return env('FILESYSTEM_DISK'); + return config('filesystems.default'); } }