Fix XLSX Writer on Windows plaftorms
A bug was introduced, preventing Spout to create valid XLSX files on Windows. This commits reverts the changes that introduced DIRECTORY_SEPARATOR everywhere and fixes the original issue with the writer by normalizing paths when creating the zipped file.
This commit is contained in:
1 parent
c6ebf115fc
commit
b3df57d2e5
9 files changed
+29
-38
No files matched your search
@@ -56,7 +56,7 @@ EOD;
|
||||
|
||||
$this->stringsEscaper = new \Box\Spout\Common\Escaper\XLSX();
|
||||
|
||||
$this->worksheetFilePath = $worksheetFilesFolder . DIRECTORY_SEPARATOR . strtolower($this->externalSheet->getName()) . '.xml';
|
||||
$this->worksheetFilePath = $worksheetFilesFolder . '/' . strtolower($this->externalSheet->getName()) . '.xml';
|
||||
$this->startSheet();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user