cvs: docweb /include lib_rfc.inc.php /www/rfc rfc-proposal-show.php

From: Date: Sun, 12 Sep 2004 09:33:44 +0000
Subject: cvs: docweb /include lib_rfc.inc.php /www/rfc rfc-proposal-show.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-288@lists.php.net to get a copy of this message
vincent Sun Sep 12 05:33:44 2004 EDT Removed files: /docweb/include lib_rfc.inc.php Modified files: /docweb/www/rfc rfc-proposal-show.php Log: Remove unused file and add a nice error message when a file could not be found http://cvs.php.net/diff.php/docweb/www/rfc/rfc-proposal-show.php?r1=1.9&r2=1.10&ty=u Index: docweb/www/rfc/rfc-proposal-show.php diff -u docweb/www/rfc/rfc-proposal-show.php:1.9 docweb/www/rfc/rfc-proposal-show.php:1.10 --- docweb/www/rfc/rfc-proposal-show.php:1.9 Sun Sep 12 03:39:02 2004 +++ docweb/www/rfc/rfc-proposal-show.php Sun Sep 12 05:33:44 2004 @@ -19,7 +19,7 @@ * @author Daniel Convissor <danielc@php.net> * @copyright Copyright (c) 1997-2004 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License - * @version $Id: rfc-proposal-show.php,v 1.9 2004/09/12 07:39:02 vincent Exp $ + * @version $Id: rfc-proposal-show.php,v 1.10 2004/09/12 09:33:44 vincent Exp $ */ /** @@ -56,6 +56,8 @@ header("Content-Disposition: attachment; filename=".stripslashes($file)); echo file_get_contents($path . '/../../files/' . $get); exit; + } else { + error_handler('File could not be found'); } exit; }

« previous php.doc.web (#288) next »