If no errors are present, show OK screen

This commit is contained in:
cytopia 2016-11-06 17:21:26 +01:00
parent 24d3b65ec1
commit 4ba01ebaea
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2

View File

@ -20,6 +20,8 @@
<?php $errors = $Logger->getAll(); ?>
<?php if ($errors === false): ?>
<p>Writing to logfile is not possible. Errors will be sent as mail instead. Check the mail section.</p>
<?php elseif (count($errors) === 0): ?>
<p>No errors detected.</div>
<?php else: ?>
<?php $total = count($errors); ?>
<table class="table table-striped">