summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sapi/cgi/cgi_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index d8503d1c07..a98738afff 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -1457,7 +1457,7 @@ consult the installation file that came with this distribution, or visit \n\
rely on the web server giving us the info
we need in the environment.
*/
- if (cgi
+ if (SG(request_info).path_translated || cgi
#if PHP_FASTCGI
|| fastcgi
#endif