aboutsummaryrefslogtreecommitdiff
path: root/views/xml/messages
diff options
context:
space:
mode:
Diffstat (limited to 'views/xml/messages')
-rw-r--r--views/xml/messages/exceptions/exception.php42
1 files changed, 18 insertions, 24 deletions
diff --git a/views/xml/messages/exceptions/exception.php b/views/xml/messages/exceptions/exception.php
index 01ac49bfe..66a0f2b96 100644
--- a/views/xml/messages/exceptions/exception.php
+++ b/views/xml/messages/exceptions/exception.php
@@ -1,31 +1,25 @@
-<?php
-
- /**
- * Elgg exception
- * Displays a single exception
- *
- * @package Elgg
- * @subpackage Core
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008-2009
- * @link http://elgg.org/
- *
- * @uses $vars['object'] An exception
- */
+<?php
+/**
+ * Elgg exception
+ * Displays a single exception
+ *
+ * @package Elgg
+ * @subpackage Core
+ *
+ * @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 ($CONFIG->debug) { ?>
+<?php if (elgg_get_config('debug')) { ?>
<?php
- echo print_r($vars['object'], true);
-
- ?>
+ echo print_r($vars['object'], true);
+
+ ?>
<?php } ?>
-
+
--> \ No newline at end of file