cvs: phpweb /error index.php

From: Date: Sat, 22 Sep 2001 08:20:34 +0000
Subject: cvs: phpweb /error index.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-6575@lists.php.net to get a copy of this message
jimw Sat Sep 22 04:20:34 2001 EDT Modified files: /phpweb/error index.php Log: allow error pages to be cached, too Index: phpweb/error/index.php diff -u phpweb/error/index.php:1.31 phpweb/error/index.php:1.32 --- phpweb/error/index.php:1.31 Wed Sep 19 18:11:27 2001 +++ phpweb/error/index.php Sat Sep 22 04:20:33 2001 @@ -1,10 +1,10 @@ <?php require_once 'prepend.inc'; - function make404() { global $REQUEST_URI; header('HTTP/1.0 404 Not Found'); + header("Cache-Control: public, max-age=600"); commonHeader('404 Not Found'); echo "<h1>Not Found</h1>\n"; echo "<p>the page <b>" . htmlspecialchars($request_uri) . "</b> could not be found.</p>\n";

« previous php.mirrors (#6575) next »