Skip to content

Commit

Permalink
Add long_process_timeout option to global_settings
Browse files Browse the repository at this point in the history
Issue #27884
  • Loading branch information
atrol committed Jan 30, 2021
1 parent 75e9129 commit a30b625
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions config_defaults_inc.php
Expand Up @@ -4430,6 +4430,7 @@
'logo_url',
'logout_cookie',
'logout_redirect_page',
'long_process_timeout',
'manage_config_cookie',
'manual_url',
'neato_tool',
Expand Down
14 changes: 7 additions & 7 deletions core/email_api.php
Expand Up @@ -1346,13 +1346,13 @@ function email_send( EmailData $p_email_data ) {
}

#apply DKIM settings
if( config_get( 'email_dkim_enable' ) ) {
$t_mail->DKIM_domain = config_get( 'email_dkim_domain' );
$t_mail->DKIM_private = config_get( 'email_dkim_private_key_file_path' );
$t_mail->DKIM_private_string = config_get( 'email_dkim_private_key_string' );
$t_mail->DKIM_selector = config_get( 'email_dkim_selector' );
$t_mail->DKIM_passphrase = config_get( 'email_dkim_passphrase' );
$t_mail->DKIM_identity = config_get( 'email_dkim_identity' );
if( config_get_global( 'email_dkim_enable' ) ) {
$t_mail->DKIM_domain = config_get_global( 'email_dkim_domain' );
$t_mail->DKIM_private = config_get_global( 'email_dkim_private_key_file_path' );
$t_mail->DKIM_private_string = config_get_global( 'email_dkim_private_key_string' );
$t_mail->DKIM_selector = config_get_global( 'email_dkim_selector' );
$t_mail->DKIM_passphrase = config_get_global( 'email_dkim_passphrase' );
$t_mail->DKIM_identity = config_get_global( 'email_dkim_identity' );
}

$t_mail->isHTML( false ); # set email format to plain text
Expand Down

0 comments on commit a30b625

Please sign in to comment.