From 2389d66da849798f8d4ec5f10e3b07c11da49185 Mon Sep 17 00:00:00 2001 From: Michael Francis Date: Sat, 28 May 2011 13:28:16 -0400 Subject: Initial Commit --- views/_errors/development.html.php | 108 +++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 views/_errors/development.html.php (limited to 'views/_errors/development.html.php') diff --git a/views/_errors/development.html.php b/views/_errors/development.html.php new file mode 100644 index 0000000..18654f6 --- /dev/null +++ b/views/_errors/development.html.php @@ -0,0 +1,108 @@ +', '', "\n"); +$context = 5; + +/** + * Set Lithium-esque colors for syntax highlighing. + */ +ini_set('highlight.string', '#4DDB4A'); +ini_set('highlight.comment', '#D42AAE'); +ini_set('highlight.keyword', '#D42AAE'); +ini_set('highlight.default', '#3C96FF'); +ini_set('highlight.htm', '#FFFFFF'); + +$stack = Debugger::trace(array('format' => 'array', 'trace' => $exception->getTrace())); + +array_unshift($stack, array( + 'functionRef' => '[exception]', + 'file' => $exception->getFile(), + 'line' => $exception->getLine() +)); + +?> +

Exception

+ +
+ + + getCode()): ?> + (code ) + +
+ +
getMessage(); ?>
+ +

Source

+ +
+ +

Stack Trace

+ +
+
    + $frame): ?> + +
  1. + + + + +
  2. + +
+
+ + \ No newline at end of file -- cgit v1.2.3