summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-08-28 13:53:49 -0400
committerjim-p <jimp@pfsense.org>2013-08-28 13:53:49 -0400
commitb6239962e36f0f553340d67571d18a03155071b1 (patch)
treefc6811cc9b11a7637149d50530c13bfa83de6b36 /etc
parenta41c031694484feaf7f134c2a637214a797a6673 (diff)
downloadpfsense-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/enableallowallwan2
-rwxr-xr-xetc/rc.captiveportal_configure2
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");
OpenPOWER on IntegriCloud