summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-06-03 15:37:32 -0400
committerjim-p <jimp@pfsense.org>2010-06-03 15:40:34 -0400
commitf81cfcc92efecf60a652d7cdfee149894cbc6cc9 (patch)
treecef0b26f98c60c668039a5e254a48eaa67d356ef /usr
parentae9618afa8ee7bc7292bf844760692c4e12bd1a4 (diff)
downloadpfsense-f81cfcc92efecf60a652d7cdfee149894cbc6cc9.zip
pfsense-f81cfcc92efecf60a652d7cdfee149894cbc6cc9.tar.gz
Use require_once instead of require, in case these files have been loaded previously. Fixes #631
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 414a10e..b9b3e65 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -44,14 +44,14 @@
##|*MATCH=interfaces.php*
##|-PRIV
-require("guiconfig.inc");
-require("ipsec.inc");
-require("functions.inc");
-require("captiveportal.inc");
-require("filter.inc");
-require("shaper.inc");
-require("rrd.inc");
-require("vpn.inc");
+require_once("guiconfig.inc");
+require_once("ipsec.inc");
+require_once("functions.inc");
+require_once("captiveportal.inc");
+require_once("filter.inc");
+require_once("shaper.inc");
+require_once("rrd.inc");
+require_once("vpn.inc");
if ($_REQUEST['if']) {
$if = $_REQUEST['if'];
OpenPOWER on IntegriCloud