|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch New_patch for *General Issues Bug #52461Patch version 2010-12-08 15:29 UTC Return to Bug #52461 | Download this patchThis patch renders other patches obsolete Obsolete patches: Patch Revisions:Developer: virsacer@web.de
--- php/ext/standard/info.c Sun May 30 08:46:46 2010
+++ php/ext/standard/info.c Wed Dec 08 16:23:16 2010
@@ -289,14 +289,14 @@
major = "Windows Server 2008";
}
} else
- if ( osvi.dwMinorVersion == 2 ) {
+ if ( osvi.dwMinorVersion == 1 ) {
if( osvi.wProductType == VER_NT_WORKSTATION ) {
major = "Windows 7";
} else {
major = "Windows Server 2008 R2";
}
} else {
- major = "Unknow Windows version";
+ major = "Unknown Windows version";
}
pGPI = (PGPI) GetProcAddress(GetModuleHandle("kernel32.dll"), "GetProductInfo");
@@ -626,7 +626,7 @@
PUTS("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"DTD/xhtml1-transitional.dtd\">\n");
- PUTS("<html>");
+ PUTS("<html xmlns=\"http://www.w3.org/1999/xhtml\">\n");
PUTS("<head>\n");
php_info_print_style(TSRMLS_C);
PUTS("<title>phpinfo()</title>");
|
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 10:00:01 2025 UTC |