aboutsummaryrefslogtreecommitdiff
path: root/views/xml/messages/exceptions
diff options
context:
space:
mode:
Diffstat (limited to 'views/xml/messages/exceptions')
-rw-r--r--views/xml/messages/exceptions/exception.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/views/xml/messages/exceptions/exception.php b/views/xml/messages/exceptions/exception.php
index 31d153b88..66a0f2b96 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 echo get_class($vars['object']); ?>: <?php echo elgg_autop($vars['object']->getMessage()); ?>
-<?php if (isset($CONFIG->debug)) { ?>
+<?php if (elgg_get_config('debug')) { ?>
<?php
echo print_r($vars['object'], true);