From f71582d5ebf61b718d1ceda4ccfd980065cda5e5 Mon Sep 17 00:00:00 2001 From: Colin Vidal Date: Sun, 17 Nov 2013 15:16:46 +0100 Subject: [PATCH] Use ini_get('upload_tmp_dir') for zip plugin --- plugins/_disabled/zip/zip.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 1.7.10.4