diff options
author | Colin Smith <colin@pfsense.org> | 2005-05-28 05:34:51 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-05-28 05:34:51 +0000 |
commit | 77720bd39513c95820d37d2ff5f776e4d0856a72 (patch) | |
tree | 032a70f00de96361ed4f7e9443537a90b2eb3fe5 /usr/local/www/system_firmware.php | |
parent | 92748a5159fe14f544beafc1f9ea7263d9c1b6e1 (diff) | |
download | pfsense-77720bd39513c95820d37d2ff5f776e4d0856a72.zip pfsense-77720bd39513c95820d37d2ff5f776e4d0856a72.tar.gz |
Fix in_array syntax warning. We don't use fwupplatforms at the moment.
Diffstat (limited to 'usr/local/www/system_firmware.php')
-rwxr-xr-x | usr/local/www/system_firmware.php | 4 |
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 " . |