Fix the redirect in case the database is not found. I also handle better the case were no file are actually found. Thanks to At Libitum. fix #116
This commit is contained in:
parent
26f5b36563
commit
4d9b3a4925
3 changed files with 17 additions and 3 deletions
|
@ -129,6 +129,7 @@ Please check
|
|||
}
|
||||
?>
|
||||
</article>
|
||||
<?php if (is_readable (Base::getDbFileName ($i))) { ?>
|
||||
<article class="frontpage">
|
||||
<h2>Check if Calibre database file can be opened with PHP</h2>
|
||||
<h4>
|
||||
|
@ -182,6 +183,7 @@ Please check
|
|||
</h4>
|
||||
</article>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<?php $i++; } ?>
|
||||
</section>
|
||||
<footer></footer>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue