Commit: dec72b06c96b035e66906cc4ea0c937817721326 Author: Hannes Magnusson <bj...@php.net> Wed, 20 May 2015 13:54:13 -0700 Parents: 22d128257738f0ffeef43916a8788bfe68158a08 Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=dec72b06c96b035e66906cc4ea0c937817721326 Log: Properly ignore inactive/broken mirrors in phpweb. Fixes #69666 Bugs: https://bugs.php.net/69666 Changed paths: M fetch/mirrors.php Diff: diff --git a/fetch/mirrors.php b/fetch/mirrors.php index 654b9c7..0b056cc 100644 --- a/fetch/mirrors.php +++ b/fetch/mirrors.php @@ -48,6 +48,7 @@ if (@mysql_connect("localhost","nobody","")) { $res = @mysql_query( "SELECT mirrors.*, country.name AS cname " . "FROM mirrors LEFT JOIN country ON mirrors.cc = country.id " . + "WHERE ocmt = '' AND active = 1 " . "ORDER BY country.name,hostname" ); -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php