summaryrefslogtreecommitdiff
path: root/modules/gallery_unit_test/views/kohana/error.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-20 23:00:39 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-20 23:00:39 -0800
commit382214f3c13cc2ae4b927e37de7bc6e798fe900a (patch)
treede2a994c5c21c6d8dd78f17467f3af5615c446c1 /modules/gallery_unit_test/views/kohana/error.php
parentf6c48d757c8f95249e58280e93c99aa4a6f217b1 (diff)
Move the error page to the expected location for K24.
Diffstat (limited to 'modules/gallery_unit_test/views/kohana/error.php')
-rw-r--r--modules/gallery_unit_test/views/kohana/error.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/gallery_unit_test/views/kohana/error.php b/modules/gallery_unit_test/views/kohana/error.php
new file mode 100644
index 00000000..c0ae7173
--- /dev/null
+++ b/modules/gallery_unit_test/views/kohana/error.php
@@ -0,0 +1,18 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<?
+echo $error, "\n\n";
+echo wordwrap($description, 80), "\n\n";
+if (!empty($line) && !empty($file)) {
+ echo $file, "[", $line, "]:\n";
+}
+echo $message, "\n\n";
+
+if (!empty($trace)) {
+ $trace = preg_replace(
+ array('/<li>/', '/<(.*?)>/', '/&gt;/'),
+ array(" ", '', '>'),
+ $trace);
+ echo "Stack Trace:\n";
+ echo $trace, "\n";
+}
+