amnuts / opcache-gui

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

Use strict comparisons when testing for settings with no value. Fixes #16 #17

Closed ToonSpinISAAC closed 7 years ago

ToonSpinISAAC commented 7 years ago

Certain OPcache settings, such as opcache.revalidate_freq, are integers for which can make sense if they equal zero. However, the OPcache GUI currently shows "no value" instead of "0" if the integer value is zero. I've made issue #16 to address this.

This change fixes the problem.