diff options
author | doktornotor <notordoktor@gmail.com> | 2015-09-11 08:25:15 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-09-11 08:25:15 +0200 |
commit | 83fcddda48f441d4a8172eb429b3f8f5100af8e4 (patch) | |
tree | 5d4747fd3f07954f7936fa016917c564f607be8f | |
parent | 5258cd801edee2afe9b1bceacb4c7cfca3dc9357 (diff) | |
download | pfsense-packages-83fcddda48f441d4a8172eb429b3f8f5100af8e4.tar.gz pfsense-packages-83fcddda48f441d4a8172eb429b3f8f5100af8e4.tar.bz2 pfsense-packages-83fcddda48f441d4a8172eb429b3f8f5100af8e4.zip |
ipguard - 2.1.x compatible boot check
-rw-r--r-- | config/ipguard/ipguard.inc | 6 |
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; } |