mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Revert to 1.58. $savemsg is already set when the XMLRPC server is unable to be contacted.
This commit is contained in:
parent
7ee5da3a68
commit
58d797bf4d
@ -102,12 +102,7 @@ include("fbegin.inc");
|
||||
|
||||
<?php
|
||||
if(!$pkg_info) {
|
||||
$ip = gethostbyname("www.pfsense.com");
|
||||
if($ip == "") {
|
||||
echo "<tr><td colspan=\"5\"><center>Could not contact pfsense.com. Check your dns/connection settings.</td></tr>";
|
||||
} else {
|
||||
echo "<tr><td colspan=\"5\"><center>There are currently no available packages for installation.</td></tr>";
|
||||
}
|
||||
echo "<tr><td colspan=\"5\"><center>There are currently no packages available for installation.</td></tr>";
|
||||
} else {
|
||||
$pkgs = array();
|
||||
$instpkgs = array();
|
||||
@ -157,7 +152,7 @@ include("fbegin.inc");
|
||||
<?php
|
||||
}
|
||||
} else {
|
||||
echo "<tr><td colspan=\"5\"><center>There are currently no available packages for installation.</td></tr>";
|
||||
echo "<tr><td colspan=\"5\"><center>There are currently no packages available for installation.</td></tr>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user