summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-05-28 05:34:51 +0000
committerColin Smith <colin@pfsense.org>2005-05-28 05:34:51 +0000
commit77720bd39513c95820d37d2ff5f776e4d0856a72 (patch)
tree032a70f00de96361ed4f7e9443537a90b2eb3fe5 /usr
parent92748a5159fe14f544beafc1f9ea7263d9c1b6e1 (diff)
downloadpfsense-77720bd39513c95820d37d2ff5f776e4d0856a72.zip
pfsense-77720bd39513c95820d37d2ff5f776e4d0856a72.tar.gz
Fix in_array syntax warning. We don't use fwupplatforms at the moment.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/system_firmware.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php
index f244547..3a4b8ee 100755
--- a/usr/local/www/system_firmware.php
+++ b/usr/local/www/system_firmware.php
@@ -124,9 +124,7 @@ php-config.upload_progress_meter.file.filename_template = <?=$dir?>
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
<?php if ($fwinfo <> "") print_info_box($fwinfo); ?>
-<?php if (!in_array($g['platform'], $fwupplatforms)): ?>
-<p><strong>Firmware uploading is not supported on this platform.</strong></p>
-<?php elseif ($sig_warning && !$input_errors): ?>
+<?php if ($sig_warning && !$input_errors): ?>
<form action="system_firmware.php" method="post">
<?php
$sig_warning = "<strong>" . $sig_warning . "</strong><br>This means that the image you uploaded " .
OpenPOWER on IntegriCloud