From: vincent@cubedesigners.com Date: Mon, 16 Jul 2018 15:18:31 +0000 (+0000) Subject: fix #2140 @0:15 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=8a4dc96e897b7c8ce7b0c356ad939d2c0da118f2;p=cubeextranet.git fix #2140 @0:15 --- diff --git a/inc/ws/Util/html5/master/class.ws.html5.links.php b/inc/ws/Util/html5/master/class.ws.html5.links.php index 5d2126afb..8268f264b 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.links.php +++ b/inc/ws/Util/html5/master/class.ws.html5.links.php @@ -1003,10 +1003,10 @@ class htmlMultimediaLink extends wsHTML5Link } elseif ($ext == 'zip') { $d = $this->unzipFile($this->alternative, false); $this->_config = $this->getConfigZIP($d['dir']); + $this->copyExternalDir($d['dir'], $d['fdir']); if(file_exists($d['dir'] . '/index.html')) { $html = file_get_contents($d['dir'] . '/index.html'); $html = str_replace('var pRatio = window.devicePixelRatio || 1,', 'var pRatio = 0.5,', $html); - $this->copyExternalDir($d['dir'], $d['fdir']); $this->_config['lowDef'] = 'index_ld.html'; $this->compiler->vdir->file_put_contents($d['fdir'] . '/' . $this->_config['lowDef'], $html); }