helly Thu May 29 10:45:03 2003 EDT
Modified files:
/php4/sapi/cli php_cli.c
Log:
Simply print errors
Index: php4/sapi/cli/php_cli.c
diff -u php4/sapi/cli/php_cli.c:1.90 php4/sapi/cli/php_cli.c:1.91
--- php4/sapi/cli/php_cli.c:1.90 Mon May 26 14:37:48 2003
+++ php4/sapi/cli/php_cli.c Thu May 29 10:45:03 2003
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_cli.c,v 1.90 2003/05/26 18:37:48 derick Exp $ */
+/* $Id: php_cli.c,v 1.91 2003/05/29 14:45:03 helly Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -239,11 +239,7 @@
static void sapi_cli_log_message(char *message)
{
- TSRMLS_FETCH();
-
- if (php_header(TSRMLS_C)) {
- fprintf(stderr, "%s\n", message);
- }
+ fprintf(stderr, "%s\n", message);
}
static int sapi_cli_deactivate(TSRMLS_D)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php