cvs: phpweb / error.php
| From: | Gabor Hojtsy | Date: | Thu, 21 Aug 2003 11:12:47 +0000 |
| Subject: | cvs: phpweb / error.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-20522@lists.php.net to get a copy of this message | ||
goba Thu Aug 21 07:12:47 2003 EDT
Modified files:
/phpweb error.php
Log:
Use new header / footer in 404 messages
Index: phpweb/error.php
diff -u phpweb/error.php:1.6 phpweb/error.php:1.7
--- phpweb/error.php:1.6 Sat Aug 16 07:58:34 2003
+++ phpweb/error.php Thu Aug 21 07:12:46 2003
@@ -1,6 +1,6 @@
<?php
-// $Id: error.php,v 1.6 2003/08/16 11:58:34 goba Exp $
+// $Id: error.php,v 1.7 2003/08/21 11:12:46 goba Exp $
/*
@@ -248,12 +248,12 @@
@header('HTTP/1.1 404 Not Found');
@header('Status: 404 Not Found',1,404);
header("Cache-Control: public, max-age=600");
- commonHeader('404 Not Found');
+ site_header('404 Not Found');
echo "<h1>Not Found</h1>\n",
"<p>The page <b>",
htmlspecialchars($_SERVER['REQUEST_URI']),
"</b> could not be found.</p>\n";
- commonFooter();
+ site_footer();
exit;
}