aboutsummaryrefslogtreecommitdiffstats
path: root/config/ipguard
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-11 16:59:41 -0300
committerRenato Botelho <renato@netgate.com>2015-09-11 16:59:41 -0300
commit0896906957daf716697508ee8a2e685e6e276e91 (patch)
treea1dafd60d2b0845b2a839d3d5eb483f18b3ad5fe /config/ipguard
parent94552b1db607bd973becb7eb8e0d3e32d9fd4b90 (diff)
parentfb2aaef04afcac0361317a519244013bb2b6b1be (diff)
downloadpfsense-packages-0896906957daf716697508ee8a2e685e6e276e91.tar.gz
pfsense-packages-0896906957daf716697508ee8a2e685e6e276e91.tar.bz2
pfsense-packages-0896906957daf716697508ee8a2e685e6e276e91.zip
Merge pull request #1060 from doktornotor/patch-7
Diffstat (limited to 'config/ipguard')
-rw-r--r--config/ipguard/ipguard.inc6
1 files changed, 5 insertions, 1 deletions
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;
}