From: Edin Kadribasic Date: Sat, 11 May 2002 14:26:30 +0000 (+0000) Subject: Added copyright notice to php -v output. X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~121 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e15de012af2adc52eafa5e11e7da9850575f1eb;p=php Added copyright notice to php -v output. --- diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 3c31a42922..7bb0b7dbba 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -876,7 +876,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("PHP %s (%s)\n%s", PHP_VERSION, sapi_module.name, get_zend_version()); + php_printf("PHP %s (%s), Copyright (c) 1997-2002 The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version()); php_end_ob_buffers(1 TSRMLS_CC); exit(1); break; diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 3db7e6dce4..260fed2087 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -524,7 +524,7 @@ int main(int argc, char *argv[]) SG(headers_sent) = 1; SG(request_info).no_headers = 1; } - php_printf("PHP %s (%s)\n%s", PHP_VERSION, sapi_module.name, get_zend_version()); + php_printf("PHP %s (%s), Copyright (c) 1997-2002 The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version()); php_end_ob_buffers(1 TSRMLS_CC); exit(1); break;