diff --git a/gosa-core/setup/class_setupStep_Finish.inc b/gosa-core/setup/class_setupStep_Finish.inc
index b32aeea049697a10e08822e2b61bd9514a2f3564..27749c6259b1645702d7f7afc9a4447b203caf7f 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";
+
+ var $b_displayCheckbutton = TRUE;
function Step_Finish()
{
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);
}
}
}