Add Calibre fields: Description, Language, Subjects, Isbn, CreationDate, ModificationDate

This commit is contained in:
Marsender 2013-10-10 01:16:43 +01:00
parent 356a1e263b
commit fce60d4079
6 changed files with 196 additions and 29 deletions

View file

@ -16,7 +16,10 @@ try {
if (!empty($dbConfig['epub_path'])) {
$fileList = RecursiveGlob($dbConfig['epub_path'], '*.epub');
foreach ($fileList as $fileName) {
$db->AddEpub($fileName);
$error = $db->AddEpub($fileName);
if (!empty($error)) {
$gErrorArray[$fileName] = $error;
}
}
}
}