Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.6] Check if configuration cache is valid after saving #24722

Merged
merged 2 commits into from
Jul 2, 2018
Merged

[5.6] Check if configuration cache is valid after saving #24722

merged 2 commits into from
Jul 2, 2018

Conversation

barryvdh
Copy link
Contributor

@barryvdh barryvdh commented Jul 2, 2018

If a configuration is cached with closures, the caching command works correctly, but an error occurs when loading the app next time.

This prevents that, and deletes the config when it's invalid.

To test it, just add a closure in any config value and try to cache it.

@barryvdh barryvdh changed the title Check if configuration cache is valid after saving [5.6] Check if configuration cache is valid after saving Jul 2, 2018
@taylorotwell taylorotwell merged commit f3056cd into laravel:5.6 Jul 2, 2018
@barryvdh barryvdh deleted the patch-4 branch July 2, 2018 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants