summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_firmware_check.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-05-24 05:13:09 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-05-24 05:13:09 +0000
commitef794b01aee9e1a2439359555184da5ec4b7b5f8 (patch)
tree3ab16ab99d7ae4bfc13a7f30be4e97811f25cd8e /usr/local/www/system_firmware_check.php
parent526291047a83eb14d4b006cdb356bde0fafec5b7 (diff)
downloadpfsense-ef794b01aee9e1a2439359555184da5ec4b7b5f8.zip
pfsense-ef794b01aee9e1a2439359555184da5ec4b7b5f8.tar.gz
Correct URLs
VS: ----------------------------------------------------------------------
Diffstat (limited to 'usr/local/www/system_firmware_check.php')
-rwxr-xr-xusr/local/www/system_firmware_check.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/system_firmware_check.php b/usr/local/www/system_firmware_check.php
index 308bdc4..fa60ec5 100755
--- a/usr/local/www/system_firmware_check.php
+++ b/usr/local/www/system_firmware_check.php
@@ -115,7 +115,7 @@ update_output_window($static_text);
if(isset($curcfg['alturl']['enable']))
$updater_url = "{$config['system']['firmware']['alturl']['firmwareurl']}";
else
- $updater_url = "${g['update_url']}";
+ $updater_url = $g['update_url'];
update_status("Downloading current version information...");
$latest_version = download_file_with_progress_bar("{$updater_url}/version", "/tmp/{$g['product_name']}_version");
@@ -131,7 +131,7 @@ if(!$latest_version) {
if(isset($curcfg['alturl']['enable']))
update_output_window("Could not contact custom update server.");
else
- update_output_window("Could not contact {$g['product_name']} update server.");
+ update_output_window("Could not contact {$g['product_name']} update server {$updater_url}.");
} else {
if($needs_system_upgrade) {
echo "\n<script language=\"JavaScript\">$('invokeupgrade').style.visibility = 'visible';</script>";
OpenPOWER on IntegriCloud