diff options
| author | Jakub Zelenka <bukka@php.net> | 2018-07-22 16:29:35 +0100 |
|---|---|---|
| committer | Jakub Zelenka <bukka@php.net> | 2018-07-22 16:29:35 +0100 |
| commit | c85504386d16f943cc79263187710a05cefea265 (patch) | |
| tree | 4cb56844bd763ddce1a725b6c71f02e2bd82d99a /main/main.c | |
| parent | 2010c02e5c3c70880a53cb0403ce696708f4d590 (diff) | |
| download | php-git-c85504386d16f943cc79263187710a05cefea265.tar.gz | |
Rename none syslog.filter to all and update ini description
Diffstat (limited to 'main/main.c')
| -rw-r--r-- | main/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/main.c b/main/main.c index 3c7eaf6ceb..4fc9cba103 100644 --- a/main/main.c +++ b/main/main.c @@ -334,10 +334,10 @@ static PHP_INI_MH(OnChangeMemoryLimit) */ static PHP_INI_MH(OnSetLogFilter) { - const char *filter = ZSTR_VAL(new_value); + const char *filter = ZSTR_VAL(new_value); - if (!strcmp(filter, "none")) { - PG(syslog_filter) = PHP_SYSLOG_FILTER_NONE; + if (!strcmp(filter, "all")) { + PG(syslog_filter) = PHP_SYSLOG_FILTER_ALL; return SUCCESS; } if (!strcmp(filter, "no-ctrl")) { |
