diff options
Diffstat (limited to 'usr/local/www/system_firmware_auto.php')
-rwxr-xr-x | usr/local/www/system_firmware_auto.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/local/www/system_firmware_auto.php b/usr/local/www/system_firmware_auto.php index 285eed2..6994be6 100755 --- a/usr/local/www/system_firmware_auto.php +++ b/usr/local/www/system_firmware_auto.php @@ -35,9 +35,11 @@ require("guiconfig.inc"); $curcfg = $config['system']['firmware']; -if(isset($curcfg['alturl']['enable']) +if(isset($curcfg['alturl']['enable'])) $updater_url = "{$config['system']['firmware']['alturl']['firmwareurl']}"; - +else + $updater_url = $g['update_url']; + $pgtitle = array("Diagnostics","Firmware","Auto Update"); include("head.inc"); |