summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 88fd30a)
raw | patch | inline | side by side (parent: 88fd30a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 May 2008 07:03:44 +0000 (07:03 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 May 2008 07:03:44 +0000 (07:03 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10841 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/generic/class_user.inc | patch | blob | history | |
gosa-plugins/goto/admin/applications/class_applicationGeneric.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc
index e119d00888ce6f91d141495aa5e122154bb41e1b..06325b11ecc5246b9ba69a2e7229c48d972cef3e 100644 (file)
/* Fallback if there's no image magick inside PHP */
if (!function_exists("imagick_blob2image")){
/* Get temporary file name for conversation */
- $fname = tempnam ("/var/spool/gosa/", "GOsa");
+ $fname = tempnam (CACHE_DIR, "GOsa");
/* Open file and write out photoData */
$fp = fopen ($fname, "w");
diff --git a/gosa-plugins/goto/admin/applications/class_applicationGeneric.inc b/gosa-plugins/goto/admin/applications/class_applicationGeneric.inc
index f5b873353f1f5a8696dc8f2c8975bfa758051210..7ade073bd773e99061e38c6917a06176cb6f9a2b 100644 (file)
if (!function_exists("imagick_blob2image")){
/* Get temporary file name for conversation */
- $fname = tempnam ("/var/spool/gosa/", "GOsa");
+ $fname = tempnam (CACHE_DIR, "GOsa");
/* Open file and write out photoData */
$fp = fopen ($fname, "w");