VHP_VARNISH_IP Notice
-
Hi, I’m getting a notice here:
Line 119
// Build a varniship if ( !defined( 'VHP_VARNISH_IP' ) && VHP_VARNISH_IP ) {
I dont know why you have to check if the VHP_VARNISH_IP is not defined and it exists. You should consider doing it the other way:
if ( defined( 'VHP_VARNISH_IP' ) && VHP_VARNISH_IP ) { $varniship = VHP_VARNISH_IP; } else { $varniship = get_option('vhp_varnish_ip'); }
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘VHP_VARNISH_IP Notice’ is closed to new replies.