From a51e24e89f0897272a6ac59c61b3b77e04f3aa60 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 8 May 2008 06:57:49 +0000 Subject: [PATCH] Moved temporary patch from /tmp/ to /var/spool/gosa git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10838 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/personal/generic/class_user.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc index a4f7125e8..e119d0088 100644 --- a/gosa-core/plugins/personal/generic/class_user.inc +++ b/gosa-core/plugins/personal/generic/class_user.inc @@ -932,7 +932,7 @@ class user extends plugin /* Fallback if there's no image magick inside PHP */ if (!function_exists("imagick_blob2image")){ /* Get temporary file name for conversation */ - $fname = tempnam ("/tmp", "GOsa"); + $fname = tempnam ("/var/spool/gosa/", "GOsa"); /* Open file and write out photoData */ $fp = fopen ($fname, "w"); -- 2.30.2