blob: da8b369f4787b7052e97a3a84b39fa90d4b617ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
/**
* PHP EPub Meta - App public entrypoint
*
* @author mikespub
*/
require_once dirname(__DIR__) . '/vendor/autoload.php';
use SebLucas\EPubMeta\App\Handler;
// modify this to point to your book directory
$bookdir = '/home/andi/Dropbox/ebooks/';
$bookdir = dirname(__DIR__) . '/test/data/';
$handler = new Handler($bookdir);
try {
$handler->handle();
} catch (Throwable $e) {
error_log($e);
echo $e->getMessage();
}
return;
|