From e383af9dcf62514787d80e09c631638d9254ffd0 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 14 Nov 2013 11:00:49 +0000 Subject: [PATCH] --- inc/ws/Util/html5/class.ws.html5.compiler.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/inc/ws/Util/html5/class.ws.html5.compiler.php b/inc/ws/Util/html5/class.ws.html5.compiler.php index 794bc893d..d0efd1cc1 100644 --- a/inc/ws/Util/html5/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/class.ws.html5.compiler.php @@ -192,7 +192,6 @@ class wsHTML5Compiler { $this->daoBook = new wsDAOBook($core->con); $this->book = $this->daoBook->selectById($book_id); - $this->book->parametres->mobileVideosPath = ''; $this->pages = $this->daoBook->getPagesOfBook($book_id); if ($this->book->parametres->mobileVersion == 'html5-images') { @@ -592,7 +591,7 @@ class wsHTML5Compiler { if (!isset($this->config->l10n)) { $this->writeLangs(); } - + if (isset($this->config->l10n['default']->$str)) { return $this->config->l10n['default']->$str; } else { @@ -1268,7 +1267,7 @@ class wsHTML5Compiler { public function copyLinkFile($source, $dest, $video = false) { if ($video && $this->book->parametres->mobileVideosPath != '') { - return; + } $origDir = $this->wdir; @@ -1284,7 +1283,6 @@ class wsHTML5Compiler { } } - if (!is_array($source)) { $source = array($source); } -- 2.39.5