Revert to 1.58. $savemsg is already set when the XMLRPC server is unable to be contacted.

This commit is contained in:
Colin Smith 2005-07-24 18:48:09 +00:00
parent 7ee5da3a68
commit 58d797bf4d

View File

@ -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>";
}
}
?>