cvs: phpweb / mirror-info.php
| From: | Gabor Hojtsy | Date: | Sun, 22 Aug 2004 15:02:10 +0000 |
| Subject: | cvs: phpweb / mirror-info.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-25910@lists.php.net to get a copy of this message | ||
goba Sun Aug 22 11:02:10 2004 EDT
Modified files:
/phpweb mirror-info.php
Log:
check for uptodate rsnyc settings on mirror sites
http://cvs.php.net/diff.php/phpweb/mirror-info.php?r1=1.15&r2=1.16&ty=u
Index: phpweb/mirror-info.php
diff -u phpweb/mirror-info.php:1.15 phpweb/mirror-info.php:1.16
--- phpweb/mirror-info.php:1.15 Fri Aug 6 07:58:44 2004
+++ phpweb/mirror-info.php Sun Aug 22 11:02:10 2004
@@ -40,3 +40,6 @@
// Test if there is a /manual alias
$correctmanual = @virtual("/manual/noalias.txt");
if (!$correctmanual) { echo "manual-alias"; }
+
+// Check for for an exe file (rsnyc settings)
+echo (int) file_exists($_SERVER['DOCUMENT_ROOT'] .
'/distributions/php-5.0.1-installer.exe');