Add a check for calibre path : it has to be local.

Cette révision appartient à :
Sébastien Lucas 2013-06-26 21:36:25 +02:00
Parent 15237ee78d
révision 29eb9329a0
1 fichiers modifiés avec 12 ajouts et 0 suppressions

Voir le fichier

@ -87,6 +87,18 @@
$i = 0;
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">
<h2>Check if Calibre database file exists and is readable</h2>
<?php