This repository was archived by the owner on Jan 1, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
module/Application/view/error Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11<h1>A 404 error occurred</h1>
22<h2><?= $ this ->message ?> </h2>
33
4- <?php if (!empty ($ this ->reason )): ?>
4+ <?php if (!empty ($ this ->reason )) : ?>
55 <?php
66 switch ($ this ->reason ) {
77 case \Zend \Mvc \Application::ERROR_CONTROLLER_CANNOT_DISPATCH :
2727 <p><?= $ reasonMessage ?> </p>
2828<?php endif ?>
2929
30- <?php if (isset ($ this ->controller ) && $ this ->controller ): ?>
30+ <?php if (isset ($ this ->controller ) && $ this ->controller ) : ?>
3131 <dl>
3232 <dt>Controller:</dt>
3333 <dd>
4444 </dl>
4545<?php endif ?>
4646
47- <?php if (isset ($ this ->display_exceptions ) && $ this ->display_exceptions ): ?>
48- <?php if (isset ($ this ->exception ) && ($ this ->exception instanceof \Exception || $ this ->exception instanceof \Error)): ?>
47+ <?php if (isset ($ this ->display_exceptions ) && $ this ->display_exceptions ) : ?>
48+ <?php if (isset ($ this ->exception ) && ($ this ->exception instanceof \Exception || $ this ->exception instanceof \Error)) : ?>
4949 <hr/>
5050
5151 <h2>Additional information:</h2>
6565 </dd>
6666 </dl>
6767
68- <?php if ($ ex = $ this ->exception ->getPrevious ()): ?>
68+ <?php if ($ ex = $ this ->exception ->getPrevious ()) : ?>
6969 <hr/>
7070
7171 <h2>Previous exceptions:</h2>
7272 <ul class="list-unstyled">
7373 <?php $ icount = 0 ; ?>
74- <?php while ($ ex ): ?>
74+ <?php while ($ ex ) : ?>
7575 <li>
7676 <h3><?= get_class ($ ex ) ?> </h3>
7777 <dl>
Original file line number Diff line number Diff line change 11<h1>An error occurred</h1>
22<h2><?= $ this ->message ?> </h2>
33
4- <?php if (isset ($ this ->display_exceptions ) && $ this ->display_exceptions ): ?>
5- <?php if (isset ($ this ->exception ) && ($ this ->exception instanceof \Exception || $ this ->exception instanceof \Error)): ?>
4+ <?php if (isset ($ this ->display_exceptions ) && $ this ->display_exceptions ) : ?>
5+ <?php if (isset ($ this ->exception ) && ($ this ->exception instanceof \Exception || $ this ->exception instanceof \Error)) : ?>
66 <hr/>
77
88 <h2>Additional information:</h2>
2222 </dd>
2323 </dl>
2424
25- <?php if ($ ex = $ this ->exception ->getPrevious ()): ?>
25+ <?php if ($ ex = $ this ->exception ->getPrevious ()) : ?>
2626 <hr/>
2727
2828 <h2>Previous exceptions:</h2>
2929 <ul class="list-unstyled">
3030 <?php $ icount = 0 ; ?>
31- <?php while ($ ex ): ?>
31+ <?php while ($ ex ) : ?>
3232 <li>
3333 <h3><?= get_class ($ ex ) ?> </h3>
3434 <dl>
You can’t perform that action at this time.
0 commit comments