Commit bea012a3 authored by Sergey Lyubka's avatar Sergey Lyubka

Removed redundant addenv call

parent eb2d470f
...@@ -1069,7 +1069,6 @@ static void prepare_cgi_environment(struct connection *conn, ...@@ -1069,7 +1069,6 @@ static void prepare_cgi_environment(struct connection *conn,
} else { } else {
addenv(blk, "SERVER_NAME=%s", conn->server->local_ip); addenv(blk, "SERVER_NAME=%s", conn->server->local_ip);
} }
addenv(blk, "SERVER_NAME=%s", opts[AUTH_DOMAIN]);
addenv(blk, "SERVER_ROOT=%s", opts[DOCUMENT_ROOT]); addenv(blk, "SERVER_ROOT=%s", opts[DOCUMENT_ROOT]);
addenv(blk, "DOCUMENT_ROOT=%s", opts[DOCUMENT_ROOT]); addenv(blk, "DOCUMENT_ROOT=%s", opts[DOCUMENT_ROOT]);
addenv(blk, "SERVER_SOFTWARE=%s/%s", "Mongoose", MONGOOSE_VERSION); addenv(blk, "SERVER_SOFTWARE=%s/%s", "Mongoose", MONGOOSE_VERSION);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment