Project

General

Profile

Bug #1263

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

Added by Thomas NOEL over 8 years ago. Updated over 8 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
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'];

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

Associated revisions

Revision c3606a3b (diff)
Added by Ermal Luçi over 8 years ago

Resolves #1263. Use correct config toggle for detecting alternate url for firmware.

History

#1 Updated by Ermal Luçi over 8 years ago

Committed thx.

#2 Updated by Ermal Luçi over 8 years ago

  • Status changed from New to Feedback
  • % Done changed from 20 to 100

#3 Updated by Ermal Luçi over 8 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF