File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 87
87
</div>
88
88
89
89
<div class="container">
90
- <?php if ( isset ( $ Exception ) ): ?>
91
- <div class="panel panel-primary">
92
- <div class="panel-heading"><?php echo Get_Class ( $ Exception ); ?> at line <?php echo $ Exception ->getLine ( ); ?> </div>
93
- <p><b><?php echo htmlspecialchars ( $ Exception ->getMessage ( ) ); ?> </b></p>
94
- <p><?php echo nl2br ( $ e ->getTraceAsString (), false ); ?> </p>
90
+ <?php if ( $ Exception !== '' ): ?>
91
+ <div class="panel panel-error">
92
+ <pre class="panel-body"><?php echo htmlspecialchars ( $ Exception ->__toString ( ) ); ?> </pre>
95
93
</div>
96
- <?php else : ?>
94
+ <?php endif ; ?>
97
95
<div class="row">
98
96
<div class="col-sm-6">
99
97
<table class="table table-bordered table-striped">
193
191
</table>
194
192
</div>
195
193
</div>
196
- <?php endif ; ?>
197
194
</div>
198
195
</body>
199
196
</html>
You can’t perform that action at this time.
0 commit comments