]> _ Git - cubeextranet.git/commitdiff
wait #4435 @0.5
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 27 Apr 2021 19:15:49 +0000 (19:15 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 27 Apr 2021 19:15:49 +0000 (19:15 +0000)
inc/ws/Util/html5/master/class.ws.html5.compiler.php

index c8048cb363b07ec37266eea5a15da4a8aba5246a..bc5a1ad02b41d410c3501166c3589bd5674b3c72 100644 (file)
@@ -580,7 +580,7 @@ class wsHTML5Compiler
         $this->addJsLib('exceljs', 'js/libs/exceljs.min.js');
         $this->addVideoJs();
 
-        $this->config->basketReferences = wsUtil::excelToArrayKeyVars($this->wdir . '/commerce/' . $this->book->parametres->basketReferences);
+        $this->config->basketReferences = wsUtil::excelToArrayKeyVars($this->wdir . 'commerce/' . $this->book->parametres->basketReferences);
 
         wsLinks::getLinksAndRulersFromFile($this->book_id, $links, $rulers);
         foreach ($links as $link) {
@@ -599,7 +599,7 @@ class wsHTML5Compiler
                 $fname = trim($data[$file]);
                 if ($fname !== '') {
                     $fname = str_replace(' ', '-', $fname);
-                    $wfile = $this->wdir . '/commerce/' . $fname;
+                    $wfile = $this->wdir . 'commerce/' . $fname;
                     if (file_exists($wfile)) {
                         $fname = 'data/commerce/' . $fname;
                         $this->vdir->copy($wfile, $fname);