Skip to content

Commit

Permalink
don't overwrite script_path_translated if no PATH_TRANSLATED was rece…
Browse files Browse the repository at this point in the history
…ived
  • Loading branch information
Sascha Schumann committed Aug 4, 2003
1 parent b1a7a8d commit f256510
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sapi/cgi/cgi_main.c
Expand Up @@ -829,7 +829,8 @@ static void init_request_info(TSRMLS_D)
SG(request_info).request_uri = env_script_name;
}
#if !DISCARD_PATH
script_path_translated = env_path_translated;
if (env_path_translated)
script_path_translated = env_path_translated;
#endif
#if ENABLE_PATHINFO_CHECK
}
Expand Down

0 comments on commit f256510

Please sign in to comment.