error500.ctp 877 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. *
  4. * PHP 5
  5. *
  6. * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  7. * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  8. *
  9. * Licensed under The MIT License
  10. * Redistributions of files must retain the above copyright notice.
  11. *
  12. * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  13. * @link http://cakephp.org CakePHP(tm) Project
  14. * @package Cake.View.Errors
  15. * @since CakePHP(tm) v 0.10.0.1076
  16. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  17. */
  18. ?>
  19. <h2><?php echo $name; ?></h2>
  20. <p class="error">
  21. <strong><?php echo __d('cake', 'Error'); ?>: </strong>
  22. <?php echo __d('cake', 'An Internal Error Has Occurred.'); ?>
  23. </p>
  24. <?php
  25. if (Configure::read('debug') > 0 ):
  26. echo $this->element('exception_stack_trace');
  27. endif;
  28. ?>