From b4a4062a5d58de9fc1fc6b5090c0f970b6ae0de1 Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Sat, 29 Mar 2014 00:06:50 +0000 Subject: [PATCH] GH-343 Error with PCLZip temporary directory --- Classes/PHPExcel/Shared/ZipArchive.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/PHPExcel/Shared/ZipArchive.php b/Classes/PHPExcel/Shared/ZipArchive.php index 5507210a..9a801a84 100644 --- a/Classes/PHPExcel/Shared/ZipArchive.php +++ b/Classes/PHPExcel/Shared/ZipArchive.php @@ -26,7 +26,7 @@ */ if (!defined('PCLZIP_TEMPORARY_DIR')) { - define('PCLZIP_TEMPORARY_DIR', PHPExcel_Shared_File::sys_get_temp_dir()); + define('PCLZIP_TEMPORARY_DIR', PHPExcel_Shared_File::sys_get_temp_dir() . DIRECTORY_SEPARATOR); } require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/PCLZip/pclzip.lib.php';