From: vincent@cubedesigners.com Date: Fri, 17 Nov 2017 14:28:04 +0000 (+0000) Subject: fix #1798 @2 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=7804c1becd2fe9c495b3f087217209c9322a51d5;p=cubeextranet.git fix #1798 @2 --- diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index ace9c99ca..bdf3e605a 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -1101,7 +1101,6 @@ class wsHTML5Compiler { $this->maxRes = 150; } } - $this->vdir->copy(WS_DOCS . '/' . $infos['document_id'] . '/p' . $infos['document_page'] . '.jpg', 'data/thumbnails/p' . $page . '.jpg'); } $thumb = false; @@ -1113,6 +1112,7 @@ class wsHTML5Compiler { } $thumbs[$page] = $thumb; + $this->vdir->copy($thumb, 'data/thumbnails/p' . $page . '.jpg'); if ($page == 1) { $this->_makeCover($docdir . 'html/t36-' . $infos['document_page'] . '.jpg');