]> granicus.if.org Git - php/commitdiff
added meta tag (w3c compliance)
authorGeorg Richter <georg@php.net>
Sun, 4 Aug 2002 18:57:02 +0000 (18:57 +0000)
committerGeorg Richter <georg@php.net>
Sun, 4 Aug 2002 18:57:02 +0000 (18:57 +0000)
Thx to Ilia Alshanetsky (ilia@prohost.org)

ext/standard/info.c

index bc80d841af3f5fab2f28433b007a54fb2940da4a..5860fb7d818d6b8adb386c313e9ceb89702795bf 100644 (file)
@@ -216,7 +216,7 @@ PHPAPI void php_print_info(int flag TSRMLS_DC)
        PUTS("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n");
        PUTS("<head>");
        php_info_print_style();
-       PUTS("<title>phpinfo()</title></head><body>");
+       PUTS("<title>phpinfo()</title><meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">/head><body>");
 
        if (flag & PHP_INFO_GENERAL) {
                char *zend_version = get_zend_version();