[xdebug-dev] xdebug xdebug/xdebug.c - Fixed bug #232: PHP log_errors functionality lost after enabling xdebug error

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Sun, 14 Jan 2007 18:55:43 +0100

Date: Sun Jan 14 18:55:43 CET 2007
User: Derick Rethans
Directory: xdebug

Log Message:
[0.05]
- Fixed bug #232: PHP log_errors functionality lost after enabling xdebug error
  handler when CLI is used.

Modified files:
           xdebug/xdebug.c (version: 1.370)

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.369
retrieving revision 1.370
diff -u -r1.369 -r1.370
--- xdebug/xdebug.c:1.369 Sun Jan 14 16:00:58 2007 GMT
+++ xdebug/xdebug.c Sun Jan 14 16:55:43 2007 GMT
@@ -2149,7 +2149,7 @@
 #endif
 
         /* Log to logger */
- if (PG(log_errors) && !(strcmp("cli", sapi_module.name) == 0) && (EG(error_reporting) & type)) {
+ if (PG(log_errors) && (EG(error_reporting) & type)) {
                 char log_buffer[1024];
 
 #ifdef PHP_WIN32
Received on Sun Jan 14 2007 - 18:56:26 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST