summaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c6
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")) {