summaryrefslogtreecommitdiff
path: root/sapi/cgi/cgi_main.c
diff options
context:
space:
mode:
authorAndrea Faulds <ajf@ajf.me>2016-03-20 22:07:14 +0000
committerJoe Watkins <krakjoe@php.net>2016-11-12 17:26:20 +0000
commit3ed8b7a87b5383f9ba99a0bbcea6e9fe7a070946 (patch)
treec8fec1c491c5a7f0e45552795ae4d144e806e4d4 /sapi/cgi/cgi_main.c
parenta103aa2dbd9fe4261e7ebbafb00ff5283c7fb5e5 (diff)
downloadphp-git-3ed8b7a87b5383f9ba99a0bbcea6e9fe7a070946.tar.gz
Use "Standard input code" instead of "php://stdin"
Diffstat (limited to 'sapi/cgi/cgi_main.c')
-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 bf33dc109b..7ded894f17 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -2431,7 +2431,7 @@ consult the installation file that came with this distribution, or visit \n\
file_handle.filename = SG(request_info).path_translated;
file_handle.handle.fp = NULL;
} else {
- file_handle.filename = "php://stdin";
+ file_handle.filename = "Standard input code";
file_handle.type = ZEND_HANDLE_FP;
file_handle.handle.fp = stdin;
}