Ver código fonte

[svn r21315] Setting the tempdir to $garbageRpositorySys. Without this it doesn't work in document/downloadfolder.inc.php

Noël Dieschburg 15 anos atrás
pai
commit
63a61ef5c2
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      main/inc/lib/pclzip/pclzip.lib.php

+ 2 - 2
main/inc/lib/pclzip/pclzip.lib.php

@@ -22,7 +22,7 @@
 //   The use of this software is at the risk of the user.
 //
 // --------------------------------------------------------------------------------
-// $Id: pclzip.lib.php 17088 2008-12-07 02:53:53Z ivantcholakov $
+// $Id: pclzip.lib.php 21315 2009-06-09 13:50:25Z ndieschburg $
 // --------------------------------------------------------------------------------
 
   // ----- Constants
@@ -63,7 +63,7 @@
   // define( 'PCLZIP_TEMPORARY_DIR', '/temp/' );
   // define( 'PCLZIP_TEMPORARY_DIR', 'C:/Temp/' );
   if (!defined('PCLZIP_TEMPORARY_DIR')) {
-    define( 'PCLZIP_TEMPORARY_DIR', '' );
+    define( 'PCLZIP_TEMPORARY_DIR', $garbageRepositorySys );
   }
 
 // --------------------------------------------------------------------------------