diff options
author | jim-p <jimp@pfsense.org> | 2013-08-28 13:53:49 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-08-28 13:53:49 -0400 |
commit | b6239962e36f0f553340d67571d18a03155071b1 (patch) | |
tree | fc6811cc9b11a7637149d50530c13bfa83de6b36 /etc | |
parent | a41c031694484feaf7f134c2a637214a797a6673 (diff) | |
download | pfsense-b6239962e36f0f553340d67571d18a03155071b1.zip pfsense-b6239962e36f0f553340d67571d18a03155071b1.tar.gz |
s/require/require_once/g for filter.inc to avoid redeclaration errors in some rare cases.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/phpshellsessions/enableallowallwan | 2 | ||||
-rwxr-xr-x | etc/rc.captiveportal_configure | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/phpshellsessions/enableallowallwan b/etc/phpshellsessions/enableallowallwan index 59ab38b..94c0b7b 100644 --- a/etc/phpshellsessions/enableallowallwan +++ b/etc/phpshellsessions/enableallowallwan @@ -1,5 +1,5 @@ global $config; -require("filter.inc"); +require_once("filter.inc"); require("shaper.inc"); $config = parse_config(true); echo "Adding allow all rule...\n"; diff --git a/etc/rc.captiveportal_configure b/etc/rc.captiveportal_configure index 5901071..57e99f7 100755 --- a/etc/rc.captiveportal_configure +++ b/etc/rc.captiveportal_configure @@ -31,7 +31,7 @@ require("config.inc"); require("functions.inc"); -require("filter.inc"); +require_once("filter.inc"); require("shaper.inc"); require("captiveportal.inc"); |