cvs: php4 /ext/standard info.c
| From: | Georg Richter | Date: | Sun, 04 Aug 2002 18:57:02 +0000 |
| Subject: | cvs: php4 /ext/standard info.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13111@lists.php.net to get a copy of this message | ||
georg Sun Aug 4 14:57:02 2002 EDT
Modified files:
/php4/ext/standard info.c
Log:
added meta tag (w3c compliance)
Thx to Ilia Alshanetsky (ilia@prohost.org)
Index: php4/ext/standard/info.c
diff -u php4/ext/standard/info.c:1.184 php4/ext/standard/info.c:1.185
--- php4/ext/standard/info.c:1.184 Mon Jul 1 14:52:30 2002
+++ php4/ext/standard/info.c Sun Aug 4 14:57:02 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: info.c,v 1.184 2002/07/01 18:52:30 derick Exp $ */
+/* $Id: info.c,v 1.185 2002/08/04 18:57:02 georg Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -216,7 +216,7 @@
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();