From 2389d66da849798f8d4ec5f10e3b07c11da49185 Mon Sep 17 00:00:00 2001 From: Michael Francis Date: Sat, 28 May 2011 13:28:16 -0400 Subject: Initial Commit --- config/bootstrap/errors.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 config/bootstrap/errors.php (limited to 'config/bootstrap/errors.php') diff --git a/config/bootstrap/errors.php b/config/bootstrap/errors.php new file mode 100644 index 0000000..8354478 --- /dev/null +++ b/config/bootstrap/errors.php @@ -0,0 +1,28 @@ + $params['request'], + 'status' => $info['exception']->getCode() + )); + + Media::render($response, compact('info', 'params'), array( + 'controller' => '_errors', + 'template' => 'development', + 'layout' => 'error', + 'request' => $params['request'] + )); + return $response; +}); + +?> \ No newline at end of file -- cgit v1.2.3