aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-09 12:00:31 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-09 12:00:31 +0000
commitdbeecc199ff7ee329e4e547417ca034b2575b194 (patch)
treeb3b64084844a6f05690a2be42df1cd2ba67fc8c8 /views/default
parent68be47602abd5274e5c185c87bffa791fceba46c (diff)
downloadelgg-dbeecc199ff7ee329e4e547417ca034b2575b194.tar.gz
elgg-dbeecc199ff7ee329e4e547417ca034b2575b194.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Updated to show improved debug in debug mode. git-svn-id: https://code.elgg.org/elgg/trunk@828 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/messages/exceptions/exception.php11
1 files changed, 9 insertions, 2 deletions
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;
?>
<p class="messages-exception">
@@ -21,7 +22,13 @@
<?php
echo nl2br($vars['object']->getMessage());
-
+
+ if ($CONFIG->debug)
+ {
+ echo "<br /><pre>";
+ print_r($vars['object']);
+ echo "</pre>";
+ }
?>
</span>
</p> \ No newline at end of file