diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2012-01-16 10:32:27 -0800 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2012-01-16 10:32:27 -0800 |
commit | f49edad1541b1599cd591ff3cd8397e63e37469c (patch) | |
tree | 793436a1161aee104289563406d1161b382846fd /views/failsafe/messages/exceptions/admin_exception.php | |
parent | 4a3540fe36e66bee3d22795e83653140abb5deb9 (diff) | |
download | elgg-f49edad1541b1599cd591ff3cd8397e63e37469c.tar.gz elgg-f49edad1541b1599cd591ff3cd8397e63e37469c.tar.bz2 |
Refs #4036. Forgot to add a new view.
Diffstat (limited to 'views/failsafe/messages/exceptions/admin_exception.php')
-rw-r--r-- | views/failsafe/messages/exceptions/admin_exception.php | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/views/failsafe/messages/exceptions/admin_exception.php b/views/failsafe/messages/exceptions/admin_exception.php new file mode 100644 index 000000000..57665d9c0 --- /dev/null +++ b/views/failsafe/messages/exceptions/admin_exception.php @@ -0,0 +1,30 @@ +<?php +/** + * Elgg exception (failsafe mode) + * Displays a single exception + * + * @package Elgg + * @subpackage Core + * + * @uses $vars['object'] An exception + */ + +?> + +<p class="elgg-messages-exception"> + <span title="<?php echo get_class($vars['object']); ?>"> + <?php + + echo nl2br($vars['object']->getMessage()); + + ?> + </span> +</p> + +<p class="elgg-messages-exception"> + <?php + + echo nl2br(htmlentities(print_r($vars['object'], true), ENT_QUOTES, 'UTF-8')); + + ?> +</p>
\ No newline at end of file |