From cf95f78f3b39d77c55ec53d4e7d136c8bb3f7e35 Mon Sep 17 00:00:00 2001 From: Fabrice Luraine Date: Thu, 2 Jul 2009 17:34:54 +0200 Subject: [PATCH] Update example02 to see new error views design --- examples/example02/index.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/example02/index.php b/examples/example02/index.php index 419a2b6..c8bd2d4 100644 --- a/examples/example02/index.php +++ b/examples/example02/index.php @@ -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'); @@ -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("

My NotFound Page

".$errstr."

I'm not here...

"); -} +// function not_found($errno, $errstr, $errfile, $errline) +// { +// return html("

My NotFound Page

".$errstr."

I'm not here...

"); +// } /* just change the server error output */ // function server_error($errno, $errstr, $errfile, $errline)