aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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