Project

General

Profile

Actions

Bug #1263

closed

"Alternate Update URL" is not used on system information widget

Added by Thomas NOEL about 13 years ago. Updated about 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
Start date:
02/08/2011
Due date:
% Done:

100%

Estimated time:
0.10 h
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:
All

Description

"Alternate Update URL" is not used on system information widget. The widget always use http://snapshot.pfsense...

Here is a patch :

--- orig/system_information.widget.php  2011-02-08 14:22:12.901299900 +0100
+++ new/system_information.widget.php   2011-02-08 14:23:21.213299887 +0100
@@ -38,7 +38,7 @@
 require_once('notices.inc');

 if($_REQUEST['getupdatestatus']) {
-       if(isset($curcfg['alturl']['enable']))
+       if(isset($config['system']['firmware']['alturl']['enable']))
                $updater_url = "{$config['system']['firmware']['alturl']['firmwareurl']}";
        else 
                $updater_url = $g['update_url'];


Files

system_information.widget.php.diff (461 Bytes) system_information.widget.php.diff Thomas NOEL, 02/08/2011 08:36 AM
Actions #1

Updated by Ermal Luçi about 13 years ago

Committed thx.

Actions #2

Updated by Ermal Luçi about 13 years ago

  • Status changed from New to Feedback
  • % Done changed from 20 to 100
Actions #3

Updated by Ermal Luçi about 13 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF