summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_php_sapi.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2020-07-24 20:25:20 +0300
committerValentin Bartenev <vbart@nginx.com>2020-07-24 20:25:20 +0300
commit10f90f0d483d1a46a58d7fd42fb406cd46a9c1a6 (patch)
tree583ef74878585dba04608a6ab529a1d3372af633 /src/nxt_php_sapi.c
parent2a71a8a9f4fcd3aedc65fc0c7f33aacf79457492 (diff)
downloadunit-10f90f0d483d1a46a58d7fd42fb406cd46a9c1a6.tar.gz
unit-10f90f0d483d1a46a58d7fd42fb406cd46a9c1a6.tar.bz2
Configuration: added checking for presence of mandatory fields.
Diffstat (limited to 'src/nxt_php_sapi.c')
-rw-r--r--src/nxt_php_sapi.c5
1 files changed, 0 insertions, 5 deletions
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);