error400.ctp 939 B

12345678910111213141516171819202122232425262728293031
  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 printf(
  23. __d('cake', 'The requested address %s was not found on this server.'),
  24. "<strong>'{$url}'</strong>"
  25. ); ?>
  26. </p>
  27. <?php
  28. if (Configure::read('debug') > 0 ):
  29. echo $this->element('exception_stack_trace');
  30. endif;
  31. ?>