From 100ad79c3adb3f6e0de32588547cf525f82e8f3a Mon Sep 17 00:00:00 2001 From: Johan Cwiklinski Date: Wed, 1 Mar 2017 12:06:18 +0100 Subject: [PATCH] Use defined constant as tmp dir instead of hardcoded current path Fixes #23 --- src/Zip/PclZipProxy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Zip/PclZipProxy.php b/src/Zip/PclZipProxy.php index b65786a..e31db68 100644 --- a/src/Zip/PclZipProxy.php +++ b/src/Zip/PclZipProxy.php @@ -21,7 +21,7 @@ */ class PclZipProxy implements ZipInterface { - const TMP_DIR = './tmp'; + const TMP_DIR = PCLZIP_TEMPORARY_DIR; protected $openned = false; protected $filename; protected $pclzip;