Revision 7ee5da3a
Added by Scott Ullrich about 20 years ago
usr/local/www/pkg_mgr.php | ||
---|---|---|
102 | 102 |
|
103 | 103 |
<?php |
104 | 104 |
if(!$pkg_info) { |
105 |
echo "<tr><td colspan=\"5\"><center>There are currently no available packages for installation.</td></tr>"; |
|
105 |
$ip = gethostbyname("www.pfsense.com"); |
|
106 |
if($ip == "") { |
|
107 |
echo "<tr><td colspan=\"5\"><center>Could not contact pfsense.com. Check your dns/connection settings.</td></tr>"; |
|
108 |
} else { |
|
109 |
echo "<tr><td colspan=\"5\"><center>There are currently no available packages for installation.</td></tr>"; |
|
110 |
} |
|
106 | 111 |
} else { |
107 | 112 |
$pkgs = array(); |
108 | 113 |
$instpkgs = array(); |
Also available in: Unified diff
Alert user that we could not contact pfsense.com instead of no packages available for installation.
Ticket #228