summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-14 20:46:00 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-14 20:46:00 -0400
commit6d34785fe7312d3d9749ee81a4b05b5ab144876f (patch)
treea52ba068beedfd8d84225d9d03219ab822b1b0f8
parentce24005a17d06f970739d16fb9d35713acd361a3 (diff)
downloadpfsense-6d34785fe7312d3d9749ee81a4b05b5ab144876f.zip
pfsense-6d34785fe7312d3d9749ee81a4b05b5ab144876f.tar.gz
Move firmware update text format to globals.inc
-rw-r--r--etc/inc/globals.inc1
-rwxr-xr-xusr/local/www/system_firmware.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc
index 389b71a..d8473b9 100644
--- a/etc/inc/globals.inc
+++ b/etc/inc/globals.inc
@@ -76,6 +76,7 @@ $g = array(
"services_dhcp_server_enable" => true,
"update_url" => "http://updates.pfSense.com/_updaters",
"update_manifest" => "http://updates.pfSense.com/manifest",
+ "firmware_update_text" => "(pfSense-*.tgz)",
"wireless_regex" => "/^(ndis|wi|ath|an|ral|ural|wai|iwi|awi|wlan|rum)/",
"vlan_native_supp" => array("bce", "bge", "bfe", "cxgb", "dc", "em", "fxp", "gem", "hme", "ixgb", "msk", "nge", "re", "rl", "sis", "ste", "stge", "ti", "tl", "tx", "txp", "vge", "vr", "xl", "lagg"),
"vlan_long_frame" => array("vge", "bfe", "bge", "dc", "em", "fxp", "gem", "hme", "ixgb", "le", "nge", "re", "rl", "sis", "sk", "ste", "ti", "tl", "tx", "txp", "vr", "xl", "lagg")
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php
index 59e1294..73012a7 100755
--- a/usr/local/www/system_firmware.php
+++ b/usr/local/www/system_firmware.php
@@ -201,7 +201,7 @@ print_info_box($sig_warning);
<td width="78%" class="vtable">
<p>
Click &quot;Enable firmware
- upload&quot; below, then choose the image file (<?=$g['platform'];?>-*.tgz)
+ upload&quot; below, then choose the image file (<?=$g['firmware_update_text'];?>)
to be uploaded.
<br>
Click &quot;Upgrade firmware&quot;
OpenPOWER on IntegriCloud