Commit: a77b84cfd6e534f35e6bff244a2e24864be0838d Author: Adam Harvey <[email protected]> Thu, 21 Nov 2013 14:01:15 -0800 Parents: bad460c0c647862408a97881150c808654cce5e3 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=a77b84cfd6e534f35e6bff244a2e24864be0838d Log: Fix downloads by using the right variable. Fixes bug #66142 (Impossible to download PHP from website). Bugs: https://bugs.php.net/66142 Changed paths: M include/do-download.inc Diff: diff --git a/include/do-download.inc b/include/do-download.inc index f9d4254..bb486ee 100644 --- a/include/do-download.inc +++ b/include/do-download.inc @@ -32,7 +32,7 @@ function download_file($mirror, $file) // Redirect to the particular file if (!headers_sent()) { status_header(302); - header('Location: ' . $mirror . 'distributions/' . $found); + header('Location: ' . $mirror . 'distributions/' . $file); } else { exit("Unable to serve you the requested file for download"); } -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
