Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Expose cache_path config, catch exceptions cleaning cache on config save #13520
Summary of Changes
Saving the global config should still work no matter what.
Setting a value for the
When changing cache handlers or disabling an active cache, the cache store should be cleaned. If the cache store can't be reached then a warning should be shown to the user and not block the save operation.
Documentation Changes Required
I changed the cache path to a non existen folder and i got an exception:
Also is the site cache folder or the admin cache folder?
Seems to be consistently inconsistent. The
Oh ... then all is fine! I has afraid this one time it would be consistently consistent.