projects
/
bizou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e21e212
)
Use ini_get('upload_tmp_dir') for zip plugin
author
Colin Vidal
<colin@cvidal.org>
Sun, 17 Nov 2013 14:16:46 +0000
(15:16 +0100)
committer
Marc MAURICE
<marc-bizou@pub.positon.org>
Sun, 17 Nov 2013 14:16:46 +0000
(15:16 +0100)
plugins/_disabled/zip/zip.php
patch
|
blob
|
history
diff --git
a/plugins/_disabled/zip/zip.php
b/plugins/_disabled/zip/zip.php
index
df82efe
..
1fdb48d
100644
(file)
--- a/
plugins/_disabled/zip/zip.php
+++ b/
plugins/_disabled/zip/zip.php
@@
-63,7
+63,7
@@
else {
if (is_dir("$bizouRootFromHere/".IMAGES_DIR."/".$folder)) {
- $tmp = tempnam("/tmp", "bizou_"); // Getting a temporary file.
+ $tmp = tempnam(ini_get("upload_tmp_dir"), "bizou_"); // Getting a temporary file.
unlink($tmp); // Deleting the temporary file in order to recreate it as a zip archive.
// Creating zip archive.