diff options
Diffstat (limited to 'views/xml/messages/exceptions/exception.php')
-rw-r--r-- | views/xml/messages/exceptions/exception.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/views/xml/messages/exceptions/exception.php b/views/xml/messages/exceptions/exception.php index 31d153b88..3e4e1c376 100644 --- a/views/xml/messages/exceptions/exception.php +++ b/views/xml/messages/exceptions/exception.php @@ -9,13 +9,12 @@ * @uses $vars['object'] An exception */ -global $CONFIG; ?> <!-- <?php echo get_class($vars['object']); ?>: <?php echo autop($vars['object']->getMessage()); ?> -<?php if (isset($CONFIG->debug)) { ?> +<?php if (elgg_get_config('debug')) { ?> <?php echo print_r($vars['object'], true); |