Skip to content

Respect DISALLOW_FILE_MODS, but why? #38

Closed Answered by tillkruss
vreoo asked this question in Support (ROC)
Discussion options

You must be logged in to vote

Those are essentially checks for wp_is_file_mod_allowed().

If the filesystem is not writeable (DISALLOW_FILE_MODS = true) then we shouldn't try to write the drop-in on the filesystem.

In your environment, I'd suggest putting the object-cache.php in place by hand, or using WP CLI.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vreoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
2 participants