Project

General

Profile

« Previous | Next » 

Revision 05ca69d7

Added by Colin Smith over 20 years ago

  • (hopefully) fix manual firmware upload.
  • Remove unnecessary version checking calls.

View differences:

usr/local/www/system_firmware.php
98 98
			}
99 99
		}
100 100
	}
101
} else {
102
	/* Only check firmware version if we're setup to go against pfsense.org  and user wants us to */
103
	if (!isset($config['system']['disablefirmwarecheck'])) {
104
//		$versions = check_firmware_version();
105
		if(!is_array($fwinfo)) {
106
			$fwinfo = "Unable to determine if a new firmware version is available.";
107
		}
108
	}
109 101
}
110 102

  
111 103
/* upload progress bar id */
......
130 122
<?php include("fbegin.inc"); ?>
131 123
<p class="pgtitle">System: Firmware</p>
132 124
<?php if ($input_errors) print_input_errors($input_errors); ?>
125
<?php if ($savemsg) print_info_box($savemsg); ?>  	 
126
<?php if ($fwinfo <> "") print_info_box($fwinfo); ?>
133 127
<?php if (!in_array($g['platform'], $fwupplatforms)): ?>
134 128
<p><strong>Firmware uploading is not supported on this platform.</strong></p>
135 129
<?php elseif ($sig_warning && !$input_errors): ?>

Also available in: Unified diff