diff options
author | jim-p <jimp@pfsense.org> | 2010-06-03 15:37:32 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-06-03 15:40:34 -0400 |
commit | f81cfcc92efecf60a652d7cdfee149894cbc6cc9 (patch) | |
tree | cef0b26f98c60c668039a5e254a48eaa67d356ef /usr | |
parent | ae9618afa8ee7bc7292bf844760692c4e12bd1a4 (diff) | |
download | pfsense-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-x | usr/local/www/interfaces.php | 16 |
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']; |