diff --git a/gosa-core/setup/class_setupStep_Finish.inc b/gosa-core/setup/class_setupStep_Finish.inc
index 5fe91f8cee2418c980e7772fc9ed76189991bf80..27749c6259b1645702d7f7afc9a4447b203caf7f 100644 (file)
var $cfg_file_written = FALSE;
var $header_image = "images/setup/server.png";
+ var $b_displayCheckbutton = TRUE;
+
function Step_Finish()
{
$this->update_strings();
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
*/
$smarty->assign("CONFIG_DIR",CONFIG_DIR);
$smarty->assign("CONFIG_FILE" , CONFIG_FILE);
- $smarty->assign("msg2", sprintf(_("After downloading and placing the file under %s, please make sure that the user the webserver is running with is able to read %s, while other users shouldn't. You may want to execute these commands to achieve this requirement:"),CONFIG_DIR,CONFIG_FILE));
+ $smarty->assign("msg2", sprintf(_("After downloading and placing the file under %s, please make sure that the user the web server is running with is able to read %s, while other users shouldn't. You may want to execute these commands to achieve this requirement:"),CONFIG_DIR,CONFIG_FILE));
$smarty->assign("cv",$this->parent->captured_values);
return($smarty -> fetch (get_template_path("../setup/setup_finish.tpl")));
/* Get attributes */
foreach($this->attributes as $attr){
if(isset($_POST[$attr])){
- $this->$attr = validate($_POST[$attr]);
+ $this->$attr = get_post($attr);
}
}
}