From c0313e0f4b74f4652758b0a38b0efeca6b14bf98 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Mon, 21 Nov 2022 10:56:54 +0000 Subject: [PATCH] wait #5592 @0.25 --- bin/fixrights | 3 ++- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/fixrights b/bin/fixrights index 853103548..dfaf54c38 100644 --- a/bin/fixrights +++ b/bin/fixrights @@ -3,7 +3,8 @@ chown -R extranet:www-data /home/extranet chown root:root /home/extranet/www/.docker/config/cron/host chown root:root /home/extranet/www/.docker/config/sudoers chown -R extranet:www-data /data/extranet -chmod -R 775 /home/extranet +chmod -R 775 /home/extranet/www +chmod 750 /home/extranet chmod -R 775 /data/extranet chmod -R 777 /home/extranet/share chmod -R 777 /home/toolbox/www/resources/fluidbookpublication/player 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 072e319a5..b10fa73e2 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -2780,7 +2780,6 @@ height="0" width="0" style="display:none;visibility:hidden"> $cache = sha1($this->book->parametres->highlightResults . '/--/' . $this->book->parametres->searchWordSelectionAlgorithm . '///' . $this->book->parametres->textExtraction . '|--|' . $this->book->parametres->ignoreSearchSeparators . '|||' . $this->book->composition_update . '()()()' . filemtime(WS_TOOLS . '/fwstk/out/artifacts/fwstk_jar/fwstk.jar')); $cacheDir = WS_BOOKS . '/index/' . $this->book_id . '/' . $cache . '/'; if (!file_exists($cacheDir)) { - die($cacheDir); mkdir($cacheDir, 0777, true); $this->daoBook->makeTextsIndexes($this->book, $this->pages, $index, $textes, true); -- 2.39.5