summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-05-26 23:07:09 +0000
committerMarcus Boerger <helly@php.net>2003-05-26 23:07:09 +0000
commit9990a0a30164cd6c98f1c3259bdb06708bcb7ff6 (patch)
treec44b6975042f437c0ce52b4440a5edff24d9fac1
parent43eda262beaf53d3c965ff29d5872ae1033726a4 (diff)
downloadphp-git-9990a0a30164cd6c98f1c3259bdb06708bcb7ff6.tar.gz
MFH: In CLI log errors always
-rw-r--r--sapi/cli/php_cli.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index 5e5fdfd6cd..c28b1886a1 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -217,10 +217,7 @@ static void sapi_cli_register_variables(zval *track_vars_array TSRMLS_DC)
static void sapi_cli_log_message(char *message)
{
- if (php_header()) {
- fprintf(stderr, "%s", message);
- fprintf(stderr, "\n");
- }
+ fprintf(stderr, "%s\n", message);
}
static int sapi_cli_deactivate(TSRMLS_D)