1
0

show long error message in selftest admin panel

This commit is contained in:
2020-01-20 20:44:39 +01:00
parent 96494c9f55
commit cf6c496b34
9 changed files with 104 additions and 22 deletions

View File

@@ -22,6 +22,6 @@ $debuginfo = $ROUTE->parameter['debuginfo'];
<div class="ev_code">500</div>
<div class="ev_msg"><?php echo $message; ?></div>
<?php if ($debuginfo !== null && strlen($debuginfo)>0 && ($SITE != null && !$SITE->isProd())): ?>
<p class="ev_statusmore"><?php echo nl2br($debuginfo); ?></p>
<p class="ev_statusmore"><?php echo nl2br(htmlspecialchars($debuginfo)); ?></p>
<?php endif; ?>
</div>