summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f6cde54)
raw | patch | inline | side by side (parent: f6cde54)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 May 2008 07:05:38 +0000 (07:05 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 May 2008 07:05:38 +0000 (07:05 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10842 594d385d-05f5-0310-b6e9-bd551577e9d8
index 0b7b0cedbb3ccc8cec4f0edb4e5f42914c116595..05877a0369c1f754896a21bf3adc3bc50753a98a 100644 (file)
define ("CONFIG_DIR", "/etc/gosa");
define ("CONFIG_FILE", "gosa.conf");
define ("CONFIG_TEMPLATE_DIR", "../contrib/");
-define ("CACHE_DIR","/var/cache/gosa/tmp");
+define ("TEMP_DIR","/var/cache/gosa/tmp");
/* Define get_list flags */
define("GL_NONE", 0);
diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc
index 06325b11ecc5246b9ba69a2e7229c48d972cef3e..8d4f816f37c0a6712de95091914828b3660e09bc 100644 (file)
/* Fallback if there's no image magick inside PHP */
if (!function_exists("imagick_blob2image")){
/* Get temporary file name for conversation */
- $fname = tempnam (CACHE_DIR, "GOsa");
+ $fname = tempnam (TEMP_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 7ade073bd773e99061e38c6917a06176cb6f9a2b..97da83a3cb0b1a173b0226430340216ba9165f5c 100644 (file)
if (!function_exists("imagick_blob2image")){
/* Get temporary file name for conversation */
- $fname = tempnam (CACHE_DIR, "GOsa");
+ $fname = tempnam (TEMP_DIR, "GOsa");
/* Open file and write out photoData */
$fp = fopen ($fname, "w");