diff --git a/gosa-core/setup/class_setupStep_Finish.inc b/gosa-core/setup/class_setupStep_Finish.inc
index bb69bce6c7c370ecbf0f61787b60bae0fa02fd22..a64fbcd05923e6b33d260f267773b05c56558737 100644 (file)
{
var $gosa_conf_contrib = "/gosa.conf";
var $cfg_file_written = FALSE;
- var $header_image= 'images/ldapserver.png';
+ var $header_image = "images/setup/server.png";
function Step_Finish()
{
{
$smarty = get_smarty();
$smarty->assign("cv",xmlentities($this->parent->captured_values));
- $smarty->assign("get_gosa_version",get_gosa_version());
+ $smarty->assign("config_checksum", md5(file_get_contents(CONFIG_TEMPLATE_DIR.$this->gosa_conf_contrib)));
$str = $smarty->fetch(CONFIG_TEMPLATE_DIR.$this->gosa_conf_contrib);
return($str);
}
function execute()
{
- $info= posix_getgrgid(posix_getgid());
- $webgroup = $info['name'];
-
-
+ if(!function_exists("posix_getgrgid")){
+ $webgroup = "";
+ }else{
+ $info= posix_getgrgid(posix_getgid());
+ $webgroup = $info['name'];
+ }
+
/* Check if there is currently an active gosa.conf
*/
$exists = file_exists(CONFIG_DIR."/".CONFIG_FILE);