summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sapi/cgi/cgi_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index b969446d6f..bdff7f74aa 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -1401,8 +1401,9 @@ consult the installation file that came with this distribution, or visit \n\
*/
if (cgi
#if PHP_FASTCGI
- || fastcgi)
+ || fastcgi
#endif
+ )
{
file_handle.type = ZEND_HANDLE_FILENAME;
file_handle.filename = SG(request_info).path_translated;