error.html.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. /**
  3. * Lithium: the most rad php framework
  4. *
  5. * @copyright Copyright 2013, Union of RAD (http://union-of-rad.org)
  6. * @license http://opensource.org/licenses/bsd-license.php The BSD License
  7. */
  8. /**
  9. * This layout is used to render error pages in both development and production. It is recommended
  10. * that you maintain a separate, simplified layout for rendering errors that does not involve any
  11. * complex logic or dynamic data, which could potentially trigger recursive errors.
  12. */
  13. ?>
  14. <!doctype html>
  15. <html>
  16. <head>
  17. <?php echo $this->html->charset(); ?>
  18. <title>Unhandled exception</title>
  19. <?php echo $this->html->style(array('debug', 'lithium')); ?>
  20. <?php echo $this->scripts(); ?>
  21. <?php echo $this->html->link('Icon', null, array('type' => 'icon')); ?>
  22. </head>
  23. <body class="app">
  24. <div id="container">
  25. <div id="header">
  26. <h1>An unhandled exception was thrown</h1>
  27. <h3>Configuration</h3>
  28. <p>
  29. This layout can be changed by modifying
  30. <code><?php
  31. echo realpath(LITHIUM_APP_PATH . '/views/layouts/error.html.php');
  32. ?></code>
  33. </p><p>
  34. To modify your error-handling configuration, see
  35. <code><?php
  36. echo realpath(LITHIUM_APP_PATH . '/config/bootstrap/errors.php');
  37. ?></code>
  38. </p>
  39. </div>
  40. <div id="content">
  41. <?php echo $this->content(); ?>
  42. </div>
  43. </div>
  44. </body>
  45. </html>