amnuts / opcache-gui

A clean, effective and responsive interface for Zend OPcache
1.21k stars 197 forks source link

Can invalidate files even if disabled with variable #69

Closed FabioPedretti closed 3 years ago

FabioPedretti commented 3 years ago

I set allow_invalidate to false in the options, and indeed I no longer can invalidate specific files. However, when I enter some filter in the search, I get the "Invalidate all matching files" link.

amnuts commented 3 years ago

Nice catch @FabioPedretti - I'll get that fixed soon.

The backend will (should) actually prevent the reset from being performed, but you definitely shouldn't see the option if it's turned off!