mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2025-04-03 21:33:36 +03:00
Set temporary directory for PCLZip wrapper
This commit is contained in:
parent
e2a2fdb335
commit
78b7019247
1 changed files with 3 additions and 0 deletions
|
@ -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';
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue