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:54:30 -0400 |
commit | f6339216b7e0c0a6a39a857ddba0c9c0a7e36237 (patch) | |
tree | e8eea31c9b928c2a1bbdfa9b99933a6c78c80c2d /etc | |
parent | 495dd804761bcd9578e648c56eefae2f2f9fe625 (diff) | |
download | pfsense-f6339216b7e0c0a6a39a857ddba0c9c0a7e36237.zip pfsense-f6339216b7e0c0a6a39a857ddba0c9c0a7e36237.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"); |