diff options
| author | jvoisin | 2023-01-31 20:16:21 +0100 |
|---|---|---|
| committer | jvoisin | 2023-01-31 20:25:14 +0100 |
| commit | 78e451eaf99e8f239867def2d8220dfa348cc167 (patch) | |
| tree | dcd1f1964634919bd0b9784d3546fd3690f389a1 /src/sp_config.c | |
| parent | 26f9987a538dc68d5a825b1712d3456a2d7aa109 (diff) | |
Add sp.log_max_len
Diffstat (limited to 'src/sp_config.c')
| -rw-r--r-- | src/sp_config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp_config.c b/src/sp_config.c index 8bd238a..5db511e 100644 --- a/src/sp_config.c +++ b/src/sp_config.c | |||
| @@ -11,6 +11,7 @@ static zend_result sp_process_config_root(sp_parsed_keyword *parsed_rule) { | |||
| 11 | {parse_unserialize_noclass, SP_TOKEN_UNSERIALIZE_NOCLASS, &(SPCFG(unserialize_noclass))}, | 11 | {parse_unserialize_noclass, SP_TOKEN_UNSERIALIZE_NOCLASS, &(SPCFG(unserialize_noclass))}, |
| 12 | {parse_enable, SP_TOKEN_HARDEN_RANDOM, &(SPCFG(random).enable)}, | 12 | {parse_enable, SP_TOKEN_HARDEN_RANDOM, &(SPCFG(random).enable)}, |
| 13 | {parse_log_media, SP_TOKEN_LOG_MEDIA, &(SPCFG(log_media))}, | 13 | {parse_log_media, SP_TOKEN_LOG_MEDIA, &(SPCFG(log_media))}, |
| 14 | {parse_ulong, SP_TOKEN_LOG_MAX_LEN, &(SPCFG(log_max_len))}, | ||
| 14 | {parse_disabled_functions, SP_TOKEN_DISABLE_FUNC, NULL}, | 15 | {parse_disabled_functions, SP_TOKEN_DISABLE_FUNC, NULL}, |
| 15 | {parse_readonly_exec, SP_TOKEN_READONLY_EXEC, &(SPCFG(readonly_exec))}, | 16 | {parse_readonly_exec, SP_TOKEN_READONLY_EXEC, &(SPCFG(readonly_exec))}, |
| 16 | {parse_enable, SP_TOKEN_GLOBAL_STRICT, &(SPCFG(global_strict).enable)}, | 17 | {parse_enable, SP_TOKEN_GLOBAL_STRICT, &(SPCFG(global_strict).enable)}, |
