Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
lotfio committed May 25, 2020
2 parents ce71804 + 4e105a2 commit c1b390f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/Ouch/resources/views/500.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,14 @@

<?php $i = 1; foreach ($ex->trace as $tr) { ?>

<div class="panel exp-panel" id="exp-<?=$i?>">
<div class="panel-body">
<code><?=htmlentities(readErrorLine($tr['file'], $tr['line']), ENT_QUOTES, 'UTF-8')?></code>
<p><?=$tr['file']?></p>
</div>
</div>
<?php if (array_key_exists('file', $tr)): ?>
<div class="panel exp-panel" id="exp-<?=$i?>">
<div class="panel-body">
<code><?=htmlentities(readErrorLine($tr['file'], $tr['line']), ENT_QUOTES, 'UTF-8')?></code>
<p><?=$tr['file']?></p>
</div>
</div>
<?php endif;?>

<?php $i++; } ?>

Expand Down

0 comments on commit c1b390f

Please sign in to comment.