@@ 91-96 (lines=6) @@ | ||
88 | ||
89 | // If $pFilename is php://output or php://stdout, make it a temporary file... |
|
90 | $originalFilename = $pFilename; |
|
91 | if (strtolower($pFilename) == 'php://output' || strtolower($pFilename) == 'php://stdout') { |
|
92 | $pFilename = @tempnam(File::sysGetTempDir(), 'phpxltmp'); |
|
93 | if ($pFilename == '') { |
|
94 | $pFilename = $originalFilename; |
|
95 | } |
|
96 | } |
|
97 | ||
98 | $zip = $this->createZip($pFilename); |
|
99 |
@@ 181-186 (lines=6) @@ | ||
178 | ||
179 | // If $pFilename is php://output or php://stdout, make it a temporary file... |
|
180 | $originalFilename = $pFilename; |
|
181 | if (strtolower($pFilename) == 'php://output' || strtolower($pFilename) == 'php://stdout') { |
|
182 | $pFilename = @tempnam(File::sysGetTempDir(), 'phpxltmp'); |
|
183 | if ($pFilename == '') { |
|
184 | $pFilename = $originalFilename; |
|
185 | } |
|
186 | } |
|
187 | ||
188 | $saveDebugLog = Calculation::getInstance($this->spreadSheet)->getDebugLog()->getWriteDebugLog(); |
|
189 | Calculation::getInstance($this->spreadSheet)->getDebugLog()->setWriteDebugLog(false); |