cvs: phpweb / mirror-info.php

From: Date: Fri, 08 Aug 2003 10:17:56 +0000
Subject: cvs: phpweb / mirror-info.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-19980@lists.php.net to get a copy of this message
goba Fri Aug 8 06:17:56 2003 EDT Modified files: /phpweb mirror-info.php Log: Only report local stats if it is set to 1, for those who think that the local stats env var is only a flag... Index: phpweb/mirror-info.php diff -u phpweb/mirror-info.php:1.11 phpweb/mirror-info.php:1.12 --- phpweb/mirror-info.php:1.11 Fri Aug 1 16:59:26 2003 +++ phpweb/mirror-info.php Fri Aug 8 06:17:55 2003 @@ -21,7 +21,7 @@ } // Provide information on local stats setup -if (isset($_SERVER['MIRROR_STATS'])) { +if (isset($_SERVER['MIRROR_STATS']) && $_SERVER['MIRROR_STATS'] == '1') { $mirror_stats = 1; // Yes } else { $mirror_stats = 2; // Don't know

« previous php.mirrors (#19980) next »