summaryrefslogtreecommitdiff
path: root/modules/gallery_unit_test/views/kohana/error.php
diff options
context:
space:
mode:
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";
+}
+