Slightly more complete 404 output. Should turn this into a full template eventually.
authorChuck Hagenbuch <chuck@horde.org>
Fri, 22 Oct 2010 02:03:56 +0000 (22:03 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Fri, 22 Oct 2010 02:03:56 +0000 (22:03 -0400)
framework/Core/lib/Horde/Core/Controller/NotFound.php

index 8f510bc..6ff03c0 100644 (file)
@@ -11,6 +11,6 @@ class Horde_Core_Controller_NotFound implements Horde_Controller
                                    Horde_Controller_Response $response)
     {
         $response->setHeader('HTTP/1.0 404 ', 'Not Found');
-        $response->setBody('<h1>404 File Not Found</h1>');
+        $response->setBody('<!DOCTYPE html><html><head><title>404 File Not Found</title></head><body><h1>404 File Not Found</h1></body></html>');
     }
 }