summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 689ed78)
raw | patch | inline | side by side (parent: 689ed78)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 19 Nov 2010 13:17:06 +0000 (13:17 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 19 Nov 2010 13:17:06 +0000 (13:17 +0000) |
-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
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20293 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/update-gosa | patch | blob | history |
diff --git a/gosa-core/update-gosa b/gosa-core/update-gosa
index 35adabdb02a825a10a0471a281bba939ee68910c..106bcdc5bef11a5a56297bea578514a9dbeb22fc 100755 (executable)
--- a/gosa-core/update-gosa
+++ b/gosa-core/update-gosa
$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
// 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);