]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 14 Nov 2013 11:00:49 +0000 (11:00 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 14 Nov 2013 11:00:49 +0000 (11:00 +0000)
inc/ws/Util/html5/class.ws.html5.compiler.php

index 794bc893ded4a8ed9a1ae7a4fdba5257e6360da7..d0efd1cc14615ac2de927346ccb2d4d93c2b5483 100644 (file)
@@ -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);
                }