Skip to content

Conversation

@duncanmcclean
Copy link
Member

This PR fixes an issue with the STATAMIC_REVISIONS_PATH environment variable, where it wasn't an absolute path, unlike the old config option.

You can save revisions correctly (because they'll stick around in the Stache), but as soon as you clear the cache, they'll disappear because the Stache won't be able to find the files.

This PR fixes it by wrapping the env variable in the base_path() helper.

Fixes #13623

@jasonvarga jasonvarga merged commit 6c7dde9 into master Jan 23, 2026
12 checks passed
@jasonvarga jasonvarga deleted the revisions-path branch January 23, 2026 21:01
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.

[6.x] Revisions removed when caches cleared and storage is in content/revisions

3 participants