Merge branch 'fix-rare-pclzip-realpath-php-version-issue' of github.com:andrew-kzoo/PHPWord into develop
This commit is contained in:
commit
7bbaab30b9
|
|
@ -218,7 +218,10 @@ class ZipArchive
|
|||
{
|
||||
/** @var \PclZip $zip Type hint */
|
||||
$zip = $this->zip;
|
||||
$filename = realpath($filename);
|
||||
$test_filename = realpath($filename);
|
||||
if($test_filename !== false) {
|
||||
$filename = $test_filename;
|
||||
}
|
||||
$filenameParts = pathinfo($filename);
|
||||
$localnameParts = pathinfo($localname);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue