diff options
Diffstat (limited to 'views/xml/messages/exceptions')
-rw-r--r-- | views/xml/messages/exceptions/exception.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/views/xml/messages/exceptions/exception.php b/views/xml/messages/exceptions/exception.php new file mode 100644 index 000000000..66a0f2b96 --- /dev/null +++ b/views/xml/messages/exceptions/exception.php @@ -0,0 +1,25 @@ +<?php +/** + * Elgg exception + * Displays a single exception + * + * @package Elgg + * @subpackage Core + * + * @uses $vars['object'] An exception + */ + +?> +<!-- +<?php echo get_class($vars['object']); ?>: <?php echo elgg_autop($vars['object']->getMessage()); ?> + + +<?php if (elgg_get_config('debug')) { ?> +<?php + + echo print_r($vars['object'], true); + + ?> +<?php } ?> + +-->
\ No newline at end of file |