Add a check for calibre path : it has to be local.
This commit is contained in:
parent
15237ee78d
commit
29eb9329a0
|
@ -87,6 +87,18 @@
|
||||||
$i = 0;
|
$i = 0;
|
||||||
foreach (Base::getDbList () as $name => $database) {
|
foreach (Base::getDbList () as $name => $database) {
|
||||||
?>
|
?>
|
||||||
|
<article class="frontpage">
|
||||||
|
<h2>Check if Calibre database path is not an URL</h2>
|
||||||
|
<h4>
|
||||||
|
<?php
|
||||||
|
if (!preg_match ("#^http#", $database)) {
|
||||||
|
echo "OK";
|
||||||
|
} else {
|
||||||
|
echo "Calibre path has to be local (no URL allowed)";
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</h4>
|
||||||
|
</article>
|
||||||
<article class="frontpage">
|
<article class="frontpage">
|
||||||
<h2>Check if Calibre database file exists and is readable</h2>
|
<h2>Check if Calibre database file exists and is readable</h2>
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in a new issue