From: vincent@cubedesigners.com Date: Tue, 22 Feb 2022 16:17:16 +0000 (+0000) Subject: wait #5093 @0:20 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=b2ea5982c0629d9b767c46892cda012a78f4894d;p=cubeextranet.git wait #5093 @0:20 --- 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 b89d640e3..b99a3b885 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -489,7 +489,7 @@ class wsHTML5Compiler continue; } - $e = CubeIT_Text::multiExplode('_-', mb_strtolower($file->getFilename())); + $e = CubeIT_Text::multiExplode('_-.', mb_strtolower($file->getFilename())); $ean = $this->findEAN($e); if (!$ean) { continue; @@ -498,6 +498,7 @@ class wsHTML5Compiler continue; } + $f = $file->getPathname(); if ($ext === 'mp4') { @@ -517,6 +518,7 @@ class wsHTML5Compiler } else { continue; } + $n = $ean . '-' . $type . '.jpg'; $this->config->basketReferences[$ean][$type] = true; $opt = $odir . '/' . $n;