com web/php: Update the rsync check now that 5.3 is bye bye: mirror-info.php

From: Date: Sat, 22 Nov 2014 18:52:00 +0000
Subject: com web/php: Update the rsync check now that 5.3 is bye bye: mirror-info.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-20289@lists.php.net to get a copy of this message
Commit: d75969f9bcf37e928ad6d185c40eaae55b58d3d8 Author: Hannes Magnusson <bjori@mongodb.com> Sat, 22 Nov 2014 10:52:00 -0800 Parents: 470fc09f3190e2034cdcd25cee46d6046c550f34 Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=d75969f9bcf37e928ad6d185c40eaae55b58d3d8 Log: Update the rsync check now that 5.3 is bye bye Changed paths: M mirror-info.php Diff: diff --git a/mirror-info.php b/mirror-info.php index 7b84ad0..17d9367 100644 --- a/mirror-info.php +++ b/mirror-info.php @@ -14,8 +14,8 @@ header("Content-type: text/plain; charset=utf-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_3_VERSION]["source"][0]["filename"]; -$md5_ok = (int) (file_exists($filename) && md5_file($filename) == $PHP_5_3_MD5["tar.bz2"]); +$filename = $_SERVER['DOCUMENT_ROOT'] . '/distributions/' . $RELEASES[5][$PHP_5_6_VERSION]["source"][0]["filename"]; +$md5_ok = (int) (file_exists($filename) && md5_file($filename) == $PHP_5_6_MD5["tar.bz2"]); // Does this mirror have sqlite? // Gets all available sqlite versions for possible future sqlite wrapper

« previous php.webmaster (#20289) next »