cvs: pearweb /public_html/error 404.php

From: Date: Mon, 03 Jun 2002 13:13:52 +0000
Subject: cvs: pearweb /public_html/error 404.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-4389@lists.php.net to get a copy of this message
richard Mon Jun 3 09:13:52 2002 EDT Modified files: /pearweb/public_html/error 404.php Log: * Cure undefined variable Index: pearweb/public_html/error/404.php diff -u pearweb/public_html/error/404.php:1.2 pearweb/public_html/error/404.php:1.3 --- pearweb/public_html/error/404.php:1.2 Sun Jun 2 20:40:57 2002 +++ pearweb/public_html/error/404.php Mon Jun 3 09:13:52 2002 @@ -2,8 +2,8 @@ /** * Filename.......: 404.php * Project........: Pearweb -* Last Modified..: $Date: 2002/06/03 00:40:57 $ -* CVS Revision...: $Revision: 1.2 $ +* Last Modified..: $Date: 2002/06/03 13:13:52 $ +* CVS Revision...: $Revision: 1.3 $ * * On 404 error this will search for a package with the same * name as the requested document. Thus enabling urls such as: @@ -23,6 +23,9 @@ } elseif (count($packages) > 3) { $packages = array($packages[0], $packages[1], $packages[2]); $show_search_link = true; + +} else { + $show_search_link = false; } response_header("Error 404");

« previous php.pear.cvs (#4389) next »