@@ -132,6 +132,10 @@ public function Set(string $sSectionKey, string $sParamKey, $mParamValue) : void
132
132
$ sSectionKey = 'login ' ;
133
133
$ sParamKey = 'fault_delay ' ;
134
134
}
135
+ if ('log_ajax_response_write_limit ' === $ sParamKey ) {
136
+ $ sSectionKey = 'logs ' ;
137
+ $ sParamKey = 'json_response_write_limit ' ;
138
+ }
135
139
}
136
140
parent ::Set ($ sSectionKey , $ sParamKey , $ mParamValue );
137
141
}
@@ -379,7 +383,9 @@ protected function defaultValues() : array
379
383
'auth_logging ' => array (false , 'Enable auth logging in a separate file (for fail2ban) ' ),
380
384
'auth_logging_filename ' => array ('fail2ban/auth-{date:Y-m-d}.txt ' ),
381
385
'auth_logging_format ' => array ('[{date:Y-m-d H:i:s}] Auth failed: ip={request:ip} user={imap:login} host={imap:host} port={imap:port} ' ),
382
- 'auth_syslog ' => array (false , 'Enable auth logging to syslog for fail2ban ' )
386
+ 'auth_syslog ' => array (false , 'Enable auth logging to syslog for fail2ban ' ),
387
+
388
+ 'json_response_write_limit ' => array (300 ),
383
389
),
384
390
385
391
'debug ' => array (
@@ -422,7 +428,6 @@ protected function defaultValues() : array
422
428
423
429
'labs ' => array (
424
430
'allow_message_append ' => array (false , 'Allow drag & drop .eml files from system into messages list ' ),
425
- 'log_ajax_response_write_limit ' => array (300 ),
426
431
'smtp_show_server_errors ' => array (false ),
427
432
'mail_func_clear_headers ' => array (true , 'PHP mail() remove To and Subject headers ' ),
428
433
'mail_func_additional_parameters ' => array (false , 'PHP mail() set -f emailaddress ' ),
0 commit comments