The following patch changes the version number in the output
of phpinfo() from 4.0 to 4. Could anyone with enough karma
please commit it or give me the karma to do it myself?

- Martin

Index: info.c
===================================================================
RCS file: /repository/php4/ext/standard/info.c,v
retrieving revision 1.161
diff -u -r1.161 info.c
--- info.c      11 Dec 2001 15:30:32 -0000      1.161
+++ info.c      29 Dec 2001 12:54:33 -0000
@@ -238,7 +238,7 @@
                        PUTS(SG(request_info).request_uri);
                }
                PUTS("?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000\">");
-               PUTS("PHP 4.0 Credits");
+               PUTS("PHP 4 Credits");
                PUTS("</a></h1>\n");
        }
 
Index: credits.c
===================================================================
RCS file: /repository/php4/ext/standard/credits.c,v
retrieving revision 1.15
diff -u -r1.15 credits.c
--- credits.c   11 Dec 2001 15:30:28 -0000      1.15
+++ credits.c   29 Dec 2001 12:54:33 -0000
@@ -36,7 +36,7 @@
 
        php_info_print_style();
 
-       PUTS("<h1 align=\"center\">PHP 4.0 Credits</h1>\n");
+       PUTS("<h1 align=\"center\">PHP 4 Credits</h1>\n");
 
        if (flag & PHP_CREDITS_GROUP) {
                /* Group */
@@ -54,9 +54,9 @@
                php_info_print_table_row(1, "Andi Gutmans, Rasmus Lerdorf, Zeev 
Suraski");
                php_info_print_table_end();
 
-               /* PHP 4.0 Language */
+               /* PHP 4 Language */
                php_info_print_table_start();
-               php_info_print_table_colspan_header(2, "PHP 4.0 Authors");
+               php_info_print_table_colspan_header(2, "PHP 4 Authors");
                php_info_print_table_header(2, "Contribution", "Authors");
                CREDIT_LINE("Zend Scripting Language Engine", "Andi Gutmans, Zeev 
Suraski");
                CREDIT_LINE("Extension Module API", "Andi Gutmans, Zeev Suraski, 
Andrei Zmievski");



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to