cvs: phpweb /include do-download.inc

From: Date: Mon, 05 May 2008 19:02:11 +0000
Subject: cvs: phpweb /include do-download.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-1677@lists.php.net to get a copy of this message
bjori Mon May 5 19:02:11 2008 UTC Modified files: /phpweb/include do-download.inc Log: Fixed bug#44916 (wong status code) http://cvs.php.net/viewvc.cgi/phpweb/include/do-download.inc?r1=1.9&r2=1.10&diff_format=u Index: phpweb/include/do-download.inc diff -u phpweb/include/do-download.inc:1.9 phpweb/include/do-download.inc:1.10 --- phpweb/include/do-download.inc:1.9 Tue Sep 19 15:41:49 2006 +++ phpweb/include/do-download.inc Mon May 5 19:02:11 2008 @@ -1,6 +1,6 @@ <?php -// $Id: do-download.inc,v 1.9 2006/09/19 15:41:49 bjori Exp $ +// $Id: do-download.inc,v 1.10 2008/05/05 19:02:11 bjori Exp $ /* This code redirects the user to the exact file to @@ -27,6 +27,7 @@ // No downloadable file found if ($found === FALSE) { + status_header(404); site_header("Download not found"); // If user comes from a mirror selection page, provide a backlink

« previous php.webmaster (#1677) next »