Project

General

Profile

« Previous | Next » 

Revision 33a2693c

Added by Chris Buechler over 14 years ago

don't show platform here (rebrands)

View differences:

usr/local/www/system_firmware.php
147 147
			if (is_uploaded_file($_FILES['ulfile']['tmp_name'])) {
148 148
				/* verify firmware image(s) */
149 149
				if (file_is_for_platform($_FILES['ulfile']['tmp_name'], $_FILES['ulfile']['name']) == false && !$_POST['sig_override'])
150
					$input_errors[] = gettext("The uploaded image file is not for this platform") . " ({$g['platform']})";
150
					$input_errors[] = gettext("The uploaded image file is not for this platform.");
151 151
				else if (!file_exists($_FILES['ulfile']['tmp_name'])) {
152 152
					/* probably out of memory for the MFS */
153 153
					$input_errors[] = gettext("Image upload failed (out of memory?)");

Also available in: Unified diff