aboutsummaryrefslogtreecommitdiff
path: root/views/failsafe/messages/exceptions
diff options
context:
space:
mode:
Diffstat (limited to 'views/failsafe/messages/exceptions')
-rw-r--r--views/failsafe/messages/exceptions/exception.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/failsafe/messages/exceptions/exception.php b/views/failsafe/messages/exceptions/exception.php
index e14eb629d..9fa7dc2a4 100644
--- a/views/failsafe/messages/exceptions/exception.php
+++ b/views/failsafe/messages/exceptions/exception.php
@@ -22,8 +22,8 @@
</p>
<?php
-global $CONFIG;
-if (isset($CONFIG->debug)) {
+
+if (elgg_get_config('debug')) {
?>
<p class="messages_exception">