Skip to content

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.

2 participants