Skip to content

Commit

Permalink
better not_found output
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabrice Luraine committed May 28, 2009
1 parent cc15bbd commit ae60e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/example02/index.php
Expand Up @@ -75,7 +75,7 @@ function my_forbiden_error_handler($errno, $errstr, $errfile, $errline)
/* just change the not found error output */
function not_found($errno, $errstr, $errfile, $errline)
{
return "<p>".$errstr."</p><p>I'm not here...</p>";
return html("<h2>My NotFound Page</h2><p>".$errstr."</p><p>I'm not here...</p>");
}

/* just change the server error output */
Expand Down

0 comments on commit ae60e0b

Please sign in to comment.