cvs: php-master-web /fetch mirrors.php

From: Date: Sun, 05 Jan 2003 18:18:28 +0000
Subject: cvs: php-master-web /fetch mirrors.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-14753@lists.php.net to get a copy of this message
goba Sun Jan 5 13:18:28 2003 EDT Modified files: /php-master-web/fetch mirrors.php Log: Temporary increase to 7 to make mirrors display for four more days even if the check script cannot run for some reason... As it's problems are figured out, this should be set back to three... Index: php-master-web/fetch/mirrors.php diff -u php-master-web/fetch/mirrors.php:1.17 php-master-web/fetch/mirrors.php:1.18 --- php-master-web/fetch/mirrors.php:1.17 Sun Jan 5 07:30:31 2003 +++ php-master-web/fetch/mirrors.php Sun Jan 5 13:18:28 2003 @@ -48,7 +48,7 @@ // Select mirrors list with some on-the-fly counted columns $res = @mysql_query( "SELECT mirrors.*, country.name AS cname, " . - "(DATE_SUB(NOW(),INTERVAL 3 DAY) < mirrors.lastchecked) AS up, " . + "(DATE_SUB(NOW(),INTERVAL 7 DAY) < mirrors.lastchecked) AS up, " . "(DATE_SUB(NOW(),INTERVAL 7 DAY) < mirrors.lastupdated) AS current " . "FROM mirrors LEFT JOIN country ON mirrors.cc = country.id " . "ORDER BY country.name,hostname"

« previous php.mirrors (#14753) next »