Re: com web/php: Fix downloads by using the right variable.: include/do-download.inc

From: Date: Fri, 22 Nov 2013 00:12:54 +0000
Subject: Re: com web/php: Fix downloads by using the right variable.: include/do-download.inc
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-17169@lists.php.net to get a copy of this message
On Thu, Nov 21, 2013 at 2:01 PM, Adam Harvey <aharvey@php.net> wrote: > Commit: f85fbcbfc593828faf230bb45f83efa394fbedea > Author: Adam Harvey <aharvey@php.net> Thu, 21 Nov 2013 14:01:15 -0800 > Parents: 7ec105c4f8c0baf91c757fb7464db9ef4d1c1a75 > Branches: master > > Link: ¹u > Ù‚¡IQW[Ë£öhttp://git.php.net/?p=web/php.git;a=commitdiff;h=f85fbcbfc593828faf230bb45f83efa394fbedea > > 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 { Whoopsy, thanks for the fix! -Hannes

« previous php.webmaster (#17169) next »