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-21797@lists.php.net to get a copy of this message
Commit: 233f49dce1b19156c4f069cd0f068032ecd35a15 Author: Hannes Magnusson <bjori@mongodb.com> Sat, 22 Nov 2014 10:52:00 -0800 Parents: f48cfd5d2b4218a55f1efa4b565162f9a47342ed Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=233f49dce1b19156c4f069cd0f068032ecd35a15 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 (#21797) next »