mirror of
https://github.com/lxsang/antd-cgi-plugin
synced 2024-12-27 10:28:22 +01:00
Update cgi.c
This commit is contained in:
parent
957341110b
commit
8291aa4b60
2
cgi.c
2
cgi.c
@ -196,8 +196,8 @@ static void get_env_vars(antd_request_t *rq, envar_arr_t *env_vars)
|
|||||||
if (tmp)
|
if (tmp)
|
||||||
{
|
{
|
||||||
add_vars(env_vars, "SCRIPT_NAME", tmp);
|
add_vars(env_vars, "SCRIPT_NAME", tmp);
|
||||||
tmp = __s("%s/%s", root, tmp);
|
|
||||||
add_vars(env_vars, "SCRIPT_FILENAME", tmp);
|
add_vars(env_vars, "SCRIPT_FILENAME", tmp);
|
||||||
|
tmp = __s("%s/%s", root, tmp);
|
||||||
add_vars(env_vars, "PATH_TRANSLATED", tmp);
|
add_vars(env_vars, "PATH_TRANSLATED", tmp);
|
||||||
free(tmp);
|
free(tmp);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user