aboutsummaryrefslogtreecommitdiff
path: root/views/xml
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-03 02:55:41 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-03 02:55:41 +0000
commit4503c58bc954671503650223bbcabe7a2951d415 (patch)
treedbf87ecf25dda9e5e8279a4296d8dea2d8222f12 /views/xml
parent72b8810ea3403491362a47cc5075402d785f1038 (diff)
downloadelgg-4503c58bc954671503650223bbcabe7a2951d415.tar.gz
elgg-4503c58bc954671503650223bbcabe7a2951d415.tar.bz2
Refs #2428 removed some uses of CONFIG in the views
git-svn-id: http://code.elgg.org/elgg/trunk@7996 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/xml')
-rw-r--r--views/xml/messages/exceptions/exception.php3
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);