summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-06 03:10:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-06 03:10:00 +0000
commit6605faea7e8fb4934fc269d60f840948836dbb47 (patch)
treef9f0a88d4223def5b20d70c342a72f11c575f90d /usr
parente1654beaa9a12fb32e36c6417232a7fa69cfb92e (diff)
downloadpfsense-6605faea7e8fb4934fc269d60f840948836dbb47.zip
pfsense-6605faea7e8fb4934fc269d60f840948836dbb47.tar.gz
require -> require_once
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/system_firmware.php4
-rwxr-xr-xusr/local/www/system_firmware_check.php6
2 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php
index 3a4b8ee..52a746f 100755
--- a/usr/local/www/system_firmware.php
+++ b/usr/local/www/system_firmware.php
@@ -31,8 +31,8 @@
*/
$d_isfwfile = 1;
-require("guiconfig.inc");
-//require("xmlrpc_client.inc");
+require_once("guiconfig.inc");
+require_once("xmlrpc_client.inc");
/* Handle manual upgrade */
if ($_POST && !file_exists($d_firmwarelock_path)) {
diff --git a/usr/local/www/system_firmware_check.php b/usr/local/www/system_firmware_check.php
index aa502b8..047c909 100755
--- a/usr/local/www/system_firmware_check.php
+++ b/usr/local/www/system_firmware_check.php
@@ -28,9 +28,9 @@
POSSIBILITY OF SUCH DAMAGE.
*/
-require("guiconfig.inc");
-require("xmlparse_pkg.inc");
-require("xmlrpc.inc");
+require_once("guiconfig.inc");
+require_once("xmlparse_pkg.inc");
+require_once("xmlrpc.inc");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
OpenPOWER on IntegriCloud