Specify port 80 for connecting to Google

This commit is contained in:
Fred Condo 2012-09-26 14:37:36 -04:00
parent c9b4c3f88e
commit bc1f3b3a81
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ class GoogleSitemap extends Controller {
* @return String Response text
*/
protected static function send_ping($host, $path, $query) {
$socket = fsockopen($host, $port, $errno, $error);
$socket = fsockopen($host, 80, $errno, $error);
if (!$socket) {
return $error;
}