aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Thumbs/Epubthumb.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Thumbs/Epubthumb.php b/Zotlabs/Thumbs/Epubthumb.php
index 6ebbd8933..2eda3a941 100644
--- a/Zotlabs/Thumbs/Epubthumb.php
+++ b/Zotlabs/Thumbs/Epubthumb.php
@@ -2,7 +2,7 @@
namespace Zotlabs\Thumbs;
-require_once 'library/epub-meta/epub.php';
+use SebLucas\EPubMeta\EPub;
/**
* @brief Thumbnail creation for epub files.
@@ -37,7 +37,7 @@ class Epubthumb {
$photo = false;
- $ep = new \EPub($file);
+ $ep = new EPub($file);
$data = $ep->Cover();
if($data['found']) {