error.php 516 B

123456789101112131415
  1. <?php
  2. /**
  3. * Page shell for errors
  4. *
  5. * This is for errors that are not unhandled exceptions. Those are handled
  6. * through the failsafe viewtype to guarantee that no further exceptions occur.
  7. * An example error would be 404 (page not found).
  8. *
  9. * @uses $vars['head'] Parameters for the <head> element
  10. * @uses $vars['body'] The main content of the page
  11. * @uses $vars['sysmessages'] A 2d array of various message registers, passed from system_messages()
  12. */
  13. echo elgg_view('page/default', $vars);