$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) {
$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);