]> _ Git - cubeextranet.git/commitdiff
wip #3733 @0:10
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 8 Sep 2020 14:19:29 +0000 (14:19 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 8 Sep 2020 14:19:29 +0000 (14:19 +0000)
inc/ws/Util/class.ws.articles.php

index 0bc9c1517d5008ef0ea5882f3cdc7c8bf790e01d..067dfa497142dfbee4961e2ef9abccfba5780571 100644 (file)
@@ -94,7 +94,7 @@ class wsArticles
 \r
         for ($i = 0; $i <= $this->_zip->numFiles; $i++) {\r
             $fname = $this->_zip->getNameIndex($i);\r
-            if (stristr($fname, '__MACOSX')) {\r
+            if (stristr($fname, '__MACOSX') || stristr($fname, 'ds_store')) {\r
                 continue;\r
             }\r
             if (!preg_match('/\.xml$/', $fname)) {\r