From 10f90f0d483d1a46a58d7fd42fb406cd46a9c1a6 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Fri, 24 Jul 2020 20:25:20 +0300 Subject: Configuration: added checking for presence of mandatory fields. --- src/nxt_php_sapi.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/nxt_php_sapi.c') diff --git a/src/nxt_php_sapi.c b/src/nxt_php_sapi.c index a6c490bd..00671b4a 100644 --- a/src/nxt_php_sapi.c +++ b/src/nxt_php_sapi.c @@ -402,11 +402,6 @@ nxt_php_set_target(nxt_task_t *task, nxt_php_target_t *target, value = nxt_conf_get_object_member(conf, &root_str, NULL); - if (value == NULL) { - nxt_alert(task, "no php root specified"); - return NXT_ERROR; - } - nxt_conf_get_string(value, &str); tmp = nxt_malloc(str.length + 1); -- cgit