|
1 | 1 | <h1>A 404 error occurred</h1> |
2 | | -<h2><?php echo $this->message ?></h2> |
| 2 | +<h2><?= $this->message ?></h2> |
3 | 3 |
|
4 | 4 | <?php if (!empty($this->reason)): ?> |
5 | 5 | <?php |
|
24 | 24 | break; |
25 | 25 | } |
26 | 26 | ?> |
27 | | - <p><?php echo $reasonMessage ?></p> |
| 27 | + <p><?= $reasonMessage ?></p> |
28 | 28 | <?php endif ?> |
29 | 29 |
|
30 | 30 | <?php if (isset($this->controller) && $this->controller): ?> |
31 | 31 | <dl> |
32 | 32 | <dt>Controller:</dt> |
33 | 33 | <dd> |
| 34 | + <?= $this->escapeHtml($this->controller) ?> |
34 | 35 | <?php |
35 | | - echo $this->escapeHtml($this->controller); |
36 | | - |
37 | 36 | if (isset($this->controller_class) |
38 | 37 | && $this->controller_class |
39 | 38 | && $this->controller_class != $this->controller |
|
50 | 49 | <hr/> |
51 | 50 |
|
52 | 51 | <h2>Additional information:</h2> |
53 | | - <h3><?php echo get_class($this->exception) ?></h3> |
| 52 | + <h3><?= get_class($this->exception) ?></h3> |
54 | 53 | <dl> |
55 | 54 | <dt>File:</dt> |
56 | 55 | <dd> |
57 | | - <pre><?php echo $this->exception->getFile() ?>:<?php echo $this->exception->getLine() ?></pre> |
| 56 | + <pre><?= $this->exception->getFile() ?>:<?= $this->exception->getLine() ?></pre> |
58 | 57 | </dd> |
59 | 58 | <dt>Message:</dt> |
60 | 59 | <dd> |
61 | | - <pre><?php echo $this->escapeHtml($this->exception->getMessage()) ?></pre> |
| 60 | + <pre><?= $this->escapeHtml($this->exception->getMessage()) ?></pre> |
62 | 61 | </dd> |
63 | 62 | <dt>Stack trace:</dt> |
64 | 63 | <dd> |
65 | | - <pre><?php echo $this->escapeHtml($this->exception->getTraceAsString()) ?></pre> |
| 64 | + <pre><?= $this->escapeHtml($this->exception->getTraceAsString()) ?></pre> |
66 | 65 | </dd> |
67 | 66 | </dl> |
68 | 67 |
|
|
74 | 73 | <?php $icount = 0; ?> |
75 | 74 | <?php while ($ex): ?> |
76 | 75 | <li> |
77 | | - <h3><?php echo get_class($ex) ?></h3> |
| 76 | + <h3><?= get_class($ex) ?></h3> |
78 | 77 | <dl> |
79 | 78 | <dt>File:</dt> |
80 | 79 | <dd> |
81 | | - <pre><?php echo $ex->getFile() ?>:<?php echo $ex->getLine() ?></pre> |
| 80 | + <pre><?= $ex->getFile() ?>:<?= $ex->getLine() ?></pre> |
82 | 81 | </dd> |
83 | 82 | <dt>Message:</dt> |
84 | 83 | <dd> |
85 | | - <pre><?php echo $this->escapeHtml($ex->getMessage()) ?></pre> |
| 84 | + <pre><?= $this->escapeHtml($ex->getMessage()) ?></pre> |
86 | 85 | </dd> |
87 | 86 | <dt>Stack trace:</dt> |
88 | 87 | <dd> |
89 | | - <pre><?php echo $this->escapeHtml($ex->getTraceAsString()) ?></pre> |
| 88 | + <pre><?= $this->escapeHtml($ex->getTraceAsString()) ?></pre> |
90 | 89 | </dd> |
91 | 90 | </dl> |
92 | 91 | </li> |
|
0 commit comments