From: vincent@cubedesigners.com Date: Mon, 19 Oct 2020 17:51:50 +0000 (+0000) Subject: wait #3966 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=fe9cf69bdeb26064ce34c6603b9affd0523b5ae2;p=cubeextranet.git wait #3966 @1 --- diff --git a/inc/ws/Controlleur/class.ws.flash.php b/inc/ws/Controlleur/class.ws.flash.php index 82ac6761b..0e8e5293f 100644 --- a/inc/ws/Controlleur/class.ws.flash.php +++ b/inc/ws/Controlleur/class.ws.flash.php @@ -831,8 +831,11 @@ class wsFlash extends cubeFlashGateway global $core; $dao = new wsDAOBook($core->con); $dao->setComposition($this->args['book_id'], json_decode($this->args['pages'])); - // Begin to generate files - $dao->compile($this->args['book_id']); + + // Begin to generate files async + $book = $dao->selectById($this->args['book_id']); + $url = 'https://workshop.fluidbook.com/viewerh/' . $book->book_id . '_' . $book->hash . '_' . time(); + `wget -t 1 -T 1 $url`; } public function getTexts() 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 9629c92b1..4959ce707 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -605,7 +605,7 @@ class wsHTML5Compiler $this->writeTexts(); $this->log('Texts written'); $this->writeAccessibility(); - $this->log('Accessibility writter'); + $this->log('Accessibility written'); $this->writeExtras(); $this->log('Extras written'); $this->populateConfig();