aboutsummaryrefslogtreecommitdiff
path: root/views/opendd/messages
diff options
context:
space:
mode:
Diffstat (limited to 'views/opendd/messages')
-rw-r--r--views/opendd/messages/exceptions/exception.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/opendd/messages/exceptions/exception.php b/views/opendd/messages/exceptions/exception.php
index 73cc462da..54868f1f4 100644
--- a/views/opendd/messages/exceptions/exception.php
+++ b/views/opendd/messages/exceptions/exception.php
@@ -9,11 +9,10 @@
* @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);
?>