summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_php_sapi.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);