]> granicus.if.org Git - php/commitdiff
Added copyright notice to php -v output.
authorEdin Kadribasic <edink@php.net>
Sat, 11 May 2002 14:26:30 +0000 (14:26 +0000)
committerEdin Kadribasic <edink@php.net>
Sat, 11 May 2002 14:26:30 +0000 (14:26 +0000)
sapi/cgi/cgi_main.c
sapi/cli/php_cli.c

index 3c31a429220f31d8c764e20ab3ae2e7837906f4c..7bb0b7dbbae6b6e7f42c7bc9e5be3190cf61b1f1 100644 (file)
@@ -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;
index 3db7e6dce43662fa815671b76c0e8052ad051261..260fed2087f34695f1aeb3ef1ffb5392290a7830 100644 (file)
@@ -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;