X-Git-Url: http://positon.org/gitweb/?p=bizou.git;a=blobdiff_plain;f=plugins%2F_disabled%2Fzip%2Fzip.php;fp=plugins%2F_disabled%2Fzip%2Fzip.php;h=1fdb48dd66f427a928c8ee601aa9754c244b4f83;hp=df82efe27305cee58e1002a9e7ad4a081784bb5f;hb=f71582d5ebf61b718d1ceda4ccfd980065cda5e5;hpb=e21e21290354fb2a3e12eba1edb6e16e34c19dd8 diff --git a/plugins/_disabled/zip/zip.php b/plugins/_disabled/zip/zip.php index df82efe..1fdb48d 100644 --- 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.