Browse Source

follow cakephp\app

antograssiot 11 years ago
parent
commit
b04af27ae4
1 changed files with 4 additions and 3 deletions
  1. 4 3
      tests/test_app/TestApp/Template/Error/error500.ctp

+ 4 - 3
tests/test_app/TestApp/Template/Error/error500.ctp

@@ -14,13 +14,14 @@
  */
 use Cake\Core\Configure;
 ?>
-<h2><?= h($message) ?></h2>
+<h2><?= __d('cake', 'An Internal Error Has Occurred.') ?></h2>
 <p class="error">
-	<strong><?= __d('cake', 'Error'); ?>: </strong>
-	<?= __d('cake', 'An Internal Error Has Occurred.'); ?>
+	<strong><?= __d('cake', 'Error') ?>: </strong>
+	<?= h($message, false) ?>
 </p>
 <?php
 if (Configure::read('debug')):
+	echo $this->element('auto_table_warning');
 	echo $this->element('exception_stack_trace');
 endif;
 ?>