From b2ea5982c0629d9b767c46892cda012a78f4894d Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Tue, 22 Feb 2022 16:17:16 +0000 Subject: [PATCH] wait #5093 @0:20 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.5