cvs: phpweb / mirror-info.php
| From: | Hannes Magnusson | Date: | Tue, 30 Jun 2009 14:19:34 +0000 |
| Subject: | cvs: phpweb / mirror-info.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-5202@lists.php.net to get a copy of this message | ||
bjori Tue Jun 30 14:19:34 2009 UTC
Modified files:
/phpweb mirror-info.php
Log:
Make sure it uses the correct variables for the self test
http://cvs.php.net/viewvc.cgi/phpweb/mirror-info.php?r1=1.28&r2=1.29&diff_format=u
Index: phpweb/mirror-info.php
diff -u phpweb/mirror-info.php:1.28 phpweb/mirror-info.php:1.29
--- phpweb/mirror-info.php:1.28 Tue Apr 7 17:05:40 2009
+++ phpweb/mirror-info.php Tue Jun 30 14:19:34 2009
@@ -1,5 +1,5 @@
<?php
-// $Id: mirror-info.php,v 1.28 2009/04/07 17:05:40 philip Exp $
+// $Id: mirror-info.php,v 1.29 2009/06/30 14:19:34 bjori Exp $
// Define $MYSITE and $LAST_UPDATED variables
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
@@ -14,8 +14,8 @@
$mirror_stats = (int) (isset($_SERVER['MIRROR_STATS']) &&
$_SERVER['MIRROR_STATS'] == '1');
// MD5 check last release file (identifies rsync setup problems)
-$filename = $_SERVER['DOCUMENT_ROOT'] . '/distributions/' .
$RELEASES[5][$PHP_5_VERSION]["source"][0]["filename"];
-$md5_ok = (int) (file_exists($filename) && md5_file($filename) ==
$PHP_5_MD5["tar.bz2"]);
+$filename = $_SERVER['DOCUMENT_ROOT'] . '/distributions/' .
$RELEASES[5][$PHP_5_3_VERSION]["source"][0]["filename"];
+$md5_ok = (int) (file_exists($filename) && md5_file($filename) ==
$PHP_5_3_MD5["tar.bz2"]);
// Does this mirror have sqlite?
// Gets all available sqlite versions for possible future sqlite wrapper