Skip to content

Commit

Permalink
Update example02 to see new error views design
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabrice Luraine committed Jul 2, 2009
1 parent 10dcd0c commit cf95f78
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/example02/index.php
Expand Up @@ -13,7 +13,7 @@ function configure()
function before()
{
layout('html_my_layout'); # setting default html layout
error_layout('html_my_layout');
//error_layout('html_my_layout');
}

dispatch('/', 'hello_world');
Expand Down Expand Up @@ -77,10 +77,10 @@ function my_forbiden_error_handler($errno, $errstr, $errfile, $errline)
}

/* just change the not found error output */
function not_found($errno, $errstr, $errfile, $errline)
{
return html("<h2>My NotFound Page</h2><p>".$errstr."</p><p>I'm not here...</p>");
}
// function not_found($errno, $errstr, $errfile, $errline)
// {
// return html("<h2>My NotFound Page</h2><p>".$errstr."</p><p>I'm not here...</p>");
// }

/* just change the server error output */
// function server_error($errno, $errstr, $errfile, $errline)
Expand Down

0 comments on commit cf95f78

Please sign in to comment.