summaryrefslogtreecommitdiff
path: root/ext/standard/info.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-08-19 09:59:47 +0000
committerPierre Joye <pajoye@php.net>2011-08-19 09:59:47 +0000
commit5f429c57e9c3e849b58c48973f393036739bcbd7 (patch)
treedb781b710dd1bd464ec751a052134a7648e5ff6f /ext/standard/info.c
parentdad2c33838c815e02900165babfc4de01a954feb (diff)
downloadphp-git-5f429c57e9c3e849b58c48973f393036739bcbd7.tar.gz
- Fixed bug #52461 (Incomplete doctype and missing xmlns)
Diffstat (limited to 'ext/standard/info.c')
-rw-r--r--ext/standard/info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/info.c b/ext/standard/info.c
index f57e4afab3..ae5be6213e 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -633,7 +633,7 @@ PHPAPI char *php_get_uname(char mode)
PHPAPI void php_print_info_htmlhead(TSRMLS_D)
{
php_info_print("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"DTD/xhtml1-transitional.dtd\">\n");
- php_info_print("<html>");
+ php_info_print("<html xmlns=\"http://www.w3.org/1999/xhtml\">");
php_info_print("<head>\n");
php_info_print_style(TSRMLS_C);
php_info_print("<title>phpinfo()</title>");