Skip to content

Commit

Permalink
Use defined constant as tmp dir instead of hardcoded current path
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Mar 2, 2017
1 parent 7f235ff commit 100ad79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Zip/PclZipProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 100ad79

Please sign in to comment.