From e8b44c7955fe33ad6997e7ffbab9fa8bb97a598b Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 19 Nov 2010 13:17:06 +0000 Subject: [PATCH] Updated 'update-gosa' -Do not use the scripts execution path to store images etc. store it in GOSA_HOME. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20293 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/update-gosa | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-core/update-gosa b/gosa-core/update-gosa index 35adabdb0..106bcdc5b 100755 --- a/gosa-core/update-gosa +++ b/gosa-core/update-gosa @@ -754,7 +754,7 @@ function rescan_images($path, $theme) $styles[$imagePath]= $styles[$realPath]; } - imagePNG($dst, "html/themes/$theme/images/img.png", 9); + imagePNG($dst, GOSA_HOME."/html/themes/$theme/images/img.png", 9); imageDestroy($dst); // Show warnings images @@ -764,7 +764,7 @@ function rescan_images($path, $theme) // Write styles echo "Writing styles..."; - $fp = fopen("ihtml/themes/$theme/img.styles", 'w'); + $fp = fopen(GOSA_HOME."/ihtml/themes/$theme/img.styles", 'w'); fwrite($fp, serialize($styles)); fclose($fp); -- 2.30.2