admin_exception.php 466 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Elgg exception (failsafe mode)
  4. * Displays a single exception
  5. *
  6. * @package Elgg
  7. * @subpackage Core
  8. *
  9. * @uses $vars['object'] An exception
  10. */
  11. ?>
  12. <p class="elgg-messages-exception">
  13. <span title="<?php echo get_class($vars['object']); ?>">
  14. <?php
  15. echo nl2br($vars['object']->getMessage());
  16. ?>
  17. </span>
  18. </p>
  19. <p class="elgg-messages-exception">
  20. <?php
  21. echo nl2br(htmlentities(print_r($vars['object'], true), ENT_QUOTES, 'UTF-8'));
  22. ?>
  23. </p>