From dbeecc199ff7ee329e4e547417ca034b2575b194 Mon Sep 17 00:00:00 2001 From: icewing Date: Mon, 9 Jun 2008 12:00:31 +0000 Subject: Marcus Povey * Updated to show improved debug in debug mode. git-svn-id: https://code.elgg.org/elgg/trunk@828 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/messages/exceptions/exception.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'views/default/messages/exceptions') diff --git a/views/default/messages/exceptions/exception.php b/views/default/messages/exceptions/exception.php index 8973db714..42223b225 100644 --- a/views/default/messages/exceptions/exception.php +++ b/views/default/messages/exceptions/exception.php @@ -13,7 +13,8 @@ * * @uses $vars['object'] An exception */ - + + global $CONFIG; ?>

@@ -21,7 +22,13 @@ getMessage()); - + + if ($CONFIG->debug) + { + echo "

";
+				print_r($vars['object']);
+				echo "
"; + } ?>

\ No newline at end of file -- cgit v1.2.3