diff options
Diffstat (limited to 'views/xml/messages/exceptions')
| -rw-r--r-- | views/xml/messages/exceptions/exception.php | 38 |
1 files changed, 16 insertions, 22 deletions
diff --git a/views/xml/messages/exceptions/exception.php b/views/xml/messages/exceptions/exception.php index eae45f397..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 + * + * @uses $vars['object'] An exception + */ - /** - * Elgg exception - * Displays a single exception - * - * @package Elgg - * @subpackage Core - - * @author Curverider Ltd - - * @link http://elgg.org/ - * - * @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 |
