cvs: php4 /sapi/cgi cgi_main.c /sapi/cli php_cli.c

From: Date: Thu, 09 May 2002 09:36:45 +0000
Subject: cvs: php4 /sapi/cgi cgi_main.c /sapi/cli php_cli.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11759@lists.php.net to get a copy of this message
sander Thu May 9 05:36:45 2002 EDT Modified files: /php4/sapi/cgi cgi_main.c /php4/sapi/cli php_cli.c Log: Added the current SAPI to the output of php -v Index: php4/sapi/cgi/cgi_main.c diff -u php4/sapi/cgi/cgi_main.c:1.161 php4/sapi/cgi/cgi_main.c:1.162 --- php4/sapi/cgi/cgi_main.c:1.161 Thu May 2 13:19:42 2002 +++ php4/sapi/cgi/cgi_main.c Thu May 9 05:36:43 2002 @@ -875,7 +875,7 @@ SG(headers_sent) = 1; SG(request_info).no_headers = 1; } - php_printf("%s\n", PHP_VERSION); + php_printf("%s (%s)\n", PHP_VERSION, sapi_module.name); php_end_ob_buffers(1 TSRMLS_CC); exit(1); break; Index: php4/sapi/cli/php_cli.c diff -u php4/sapi/cli/php_cli.c:1.20 php4/sapi/cli/php_cli.c:1.21 --- php4/sapi/cli/php_cli.c:1.20 Sun May 5 13:11:04 2002 +++ php4/sapi/cli/php_cli.c Thu May 9 05:36:45 2002 @@ -523,7 +523,7 @@ SG(headers_sent) = 1; SG(request_info).no_headers = 1; } - php_printf("%s\n", PHP_VERSION); + php_printf("%s (%s)\n", PHP_VERSION, sapi_module.name); php_end_ob_buffers(1 TSRMLS_CC); exit(1); break;

« previous php.cvs (#11759) next »