Set temporary directory for PCLZip wrapper

This commit is contained in:
Mark Baker 2012-07-14 10:32:36 +01:00
parent e2a2fdb335
commit 78b7019247
1 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,9 @@
* @version ##VERSION##, ##DATE##
*/
if (!defined('PCLZIP_TEMPORARY_DIR')) {
define('PCLZIP_TEMPORARY_DIR', PHPExcel_Shared_File::sys_get_temp_dir());
}
require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/PCLZip/pclzip.lib.php';