Code

Moved temporary patch from /tmp/ to /var/spool/gosa
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 8 May 2008 06:57:49 +0000 (06:57 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 8 May 2008 06:57:49 +0000 (06:57 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10838 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/generic/class_user.inc

index a4f7125e8288e97e11a4ca9314a6608d1f00c73d..e119d00888ce6f91d141495aa5e122154bb41e1b 100644 (file)
@@ -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");