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

From: Date: Mon, 18 Sep 2006 13:26:50 +0000
Subject: cvs: php-master-web /fetch mirrors.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-32690@lists.php.net to get a copy of this message
rasmus Mon Sep 18 13:26:50 2006 UTC Modified files: /php-master-web/fetch mirrors.php Log: Let's forget the short expiry on the mirrors array to simplify things a bit. http://cvs.php.net/viewvc.cgi/php-master-web/fetch/mirrors.php?r1=1.26&r2=1.27&diff_format=u Index: php-master-web/fetch/mirrors.php diff -u php-master-web/fetch/mirrors.php:1.26 php-master-web/fetch/mirrors.php:1.27 --- php-master-web/fetch/mirrors.php:1.26 Thu Sep 14 19:02:55 2006 +++ php-master-web/fetch/mirrors.php Mon Sep 18 13:26:50 2006 @@ -31,8 +31,6 @@ define('MIRROR_NOTACTIVE', 1); define('MIRROR_OUTDATED', 2); define('MIRROR_DOESNOTWORK', 3); - -if(empty(\$APC) || (\$APC && !\$MIRRORS = apc_fetch('mirrors'))) { "; // A token is required, since this should only get accessed from rsync.php.net @@ -97,7 +95,7 @@ " \"$row[providerurl]\", $row[mirrortype], $row[has_search],\n" . " \"$row[lang]\", $status),\n"; } - echo ");\nif(\$APC) apc_store('mirrors',\$MIRRORS,1800);\n}\n"; + echo ");\n"; } } }

« previous php.mirrors (#32690) next »