mirror of
https://github.com/php/php-src.git
synced 2026-04-24 08:28:26 +02:00
Fixed bug #30760 (Remove MessageBox on win32 for E_CORE errors if
display_startup_error is off).
This commit is contained in:
@@ -37,7 +37,6 @@ PHP NEWS
|
||||
proper init). (Ilia)
|
||||
- Fixed bug #35490 (socket_sendto() unable to handle IPv6 addresses). (Tony)
|
||||
- Fixed bug #35437 (Segfault or Invalid Opcode 137/1/4). (Dmitry)
|
||||
- Fixed bug #34729 (Crash in ZTS mode under Apache). (Dmitry, Zeev)
|
||||
- Fixed bug #35470 (Assigning global using variable name from array doesn't
|
||||
function). (Dmitry)
|
||||
- Fixed bug #35456 (+ 1 [time unit] format did not work). (Ilia)
|
||||
@@ -61,6 +60,9 @@ PHP NEWS
|
||||
- Fixed bug #35062 (socket_read() produces warnings on non blocking sockets).
|
||||
(Nuno, Ilia)
|
||||
- Fixed bug #35028 (SimpleXML object fails FALSE test). (Marcus)
|
||||
- Fixed bug #34729 (Crash in ZTS mode under Apache). (Dmitry, Zeev)
|
||||
- Fixed bug #30760 (Remove MessageBox on win32 for E_CORE errors if
|
||||
display_startup_error is off). (Ilia)
|
||||
|
||||
28 Nov 2005, PHP 5.1.1
|
||||
- Disabled native date class to prevent pear::date conflict. (Ilia)
|
||||
|
||||
+1
-2
@@ -746,9 +746,8 @@ static void php_error_cb(int type, const char *error_filename, const uint error_
|
||||
|
||||
if (!module_initialized || PG(log_errors)) {
|
||||
char *log_buffer;
|
||||
|
||||
#ifdef PHP_WIN32
|
||||
if (type==E_CORE_ERROR || type==E_CORE_WARNING) {
|
||||
if ((type == E_CORE_ERROR || type == E_CORE_WARNING) && PG(display_startup_errors)) {
|
||||
MessageBox(NULL, buffer, error_type_str, MB_OK|ZEND_SERVICE_MB_STYLE);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user