} 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);
}