From 83fcddda48f441d4a8172eb429b3f8f5100af8e4 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Fri, 11 Sep 2015 08:25:15 +0200 Subject: ipguard - 2.1.x compatible boot check --- config/ipguard/ipguard.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config/ipguard') diff --git a/config/ipguard/ipguard.inc b/config/ipguard/ipguard.inc index 53284c96..68e08e9f 100644 --- a/config/ipguard/ipguard.inc +++ b/config/ipguard/ipguard.inc @@ -41,7 +41,11 @@ function ipguard_custom_php_write_config() { global $g, $config; /* Detect boot process and do nothing */ - if (platform_booting()) { + if (function_exists("platform_booting")) { + if (platform_booting()) { + return; + } + } elseif ($g['booting']) { return; } -- cgit v1.2.3