Some comments and config changes

This commit is contained in:
Marsender 2013-09-30 22:29:27 +01:00
parent 6964445c8f
commit 89a27f10b8
5 changed files with 10 additions and 10 deletions

View file

@ -37,14 +37,14 @@ if (!is_dir($gConfig['cops_directory'])) {
// Include Calibre database loader class
$fileName = $gConfig['cops_directory'] . '/resources/epub-loader/CalibreDbLoader.class.php';
if (!file_exists($fileName)) {
die ('Incorrect include file: ' . $gConfig['cops_directory']);
die ('Incorrect include file: ' . $fileName);
}
require_once($fileName);
// Include book export class
$fileName = $gConfig['cops_directory'] . '/resources/epub-loader/BookExport.class.php';
if (!file_exists($fileName)) {
die ('Incorrect include file: ' . $gConfig['cops_directory']);
die ('Incorrect include file: ' . $fileName);
}
require_once($fileName);