diff options
author | Markus Fischer <mfischer@php.net> | 2002-05-10 16:18:00 +0000 |
---|---|---|
committer | Markus Fischer <mfischer@php.net> | 2002-05-10 16:18:00 +0000 |
commit | ccbadfc11182184c4fc363d8fdbe8e9fc56de704 (patch) | |
tree | 9a8839fa567b53ab1e626a5e6da171d500fab18e /sapi/cgi/cgi_main.c | |
parent | bf351e9639577a9861ecacd72522f9944759ef5a (diff) | |
download | php-git-ccbadfc11182184c4fc363d8fdbe8e9fc56de704.tar.gz |
- Prefix the first version line with 'PHP' so it's easier to use shell tools to
parse the version number (both CLI and CGI).
Diffstat (limited to 'sapi/cgi/cgi_main.c')
-rw-r--r-- | sapi/cgi/cgi_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 6cc052eb68..46b967ba55 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -874,7 +874,7 @@ consult the installation file that came with this distribution, or visit \n\ SG(headers_sent) = 1; SG(request_info).no_headers = 1; } - php_printf("%s (%s)\n%s", PHP_VERSION, sapi_module.name, get_zend_version()); + php_printf("PHP %s (%s)\n%s", PHP_VERSION, sapi_module.name, get_zend_version()); php_end_ob_buffers(1 TSRMLS_CC); exit(1); break; |