forked from extern/egroupware
"setting standard IMAP and SMTP as default"
This commit is contained in:
parent
ed5a1234c6
commit
28a778955c
@ -83,6 +83,8 @@ class setup_cmd_config extends setup_cmd
|
|||||||
{
|
{
|
||||||
if ($save_ea_profile) $this->_save_ea_profile();
|
if ($save_ea_profile) $this->_save_ea_profile();
|
||||||
|
|
||||||
|
$this->restore_db();
|
||||||
|
|
||||||
return lang('Configuration changed.');
|
return lang('Configuration changed.');
|
||||||
}
|
}
|
||||||
$this->restore_db();
|
$this->restore_db();
|
||||||
@ -361,6 +363,8 @@ class setup_cmd_config extends setup_cmd
|
|||||||
$defaults['mail_suffix'] = '$domain';
|
$defaults['mail_suffix'] = '$domain';
|
||||||
$defaults['imapAdminUsername'] = 'cyrus@$domain';
|
$defaults['imapAdminUsername'] = 'cyrus@$domain';
|
||||||
$defaults['imapAdminPW'] = self::randomstring();
|
$defaults['imapAdminPW'] = self::randomstring();
|
||||||
|
$defaults['imapType'] = 2; // standard IMAP
|
||||||
|
$defaults['smtpType'] = 1; // standard SMTP
|
||||||
|
|
||||||
return $defaults;
|
return $defaults;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user