]> _ Git - cubeextranet.git/commitdiff
wait #5093 @0:20
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 22 Feb 2022 16:17:16 +0000 (16:17 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 22 Feb 2022 16:17:16 +0000 (16:17 +0000)
inc/ws/Util/html5/master/class.ws.html5.compiler.php

index b89d640e306119af0f3487d3ccdc0bfc29370d33..b99a3b88533a26a530ee657981c905847b4609a0 100644 (file)
@@ -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;