From: hickert Date: Thu, 8 May 2008 06:57:49 +0000 (+0000) Subject: Moved temporary patch from /tmp/ to /var/spool/gosa X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a51e24e89f0897272a6ac59c61b3b77e04f3aa60;p=gosa.git 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 --- 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");