@@ -34,7 +34,10 @@ |
||
34 | 34 | throw new PclZipProxyException('PclZip class not loaded - PclZip library |
35 | 35 | is required for using PclZipProxy'); ; |
36 | 36 | } |
37 | - if ($forcedir) $this->tmpdir=preg_replace('|[//\/]$|','',$forcedir); // $this->tmpdir must not contains / at the end |
|
37 | + if ($forcedir) { |
|
38 | + $this->tmpdir=preg_replace('|[//\/]$|','',$forcedir); |
|
39 | + } |
|
40 | + // $this->tmpdir must not contains / at the end |
|
38 | 41 | } |
39 | 42 | |
40 | 43 | /** |