Use ini_get('upload_tmp_dir') for zip plugin
This commit is contained in:
parent
e21e212903
commit
f71582d5eb
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue