php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #53754
Patch php_cli-headers_list.patch revision 2011-01-14 21:46 UTC by pistole at rhp dot org

Patch php_cli-headers_list.patch for CGI/CLI related Bug #53754

Patch version 2011-01-14 21:46 UTC

Return to Bug #53754 | Download this patch
Patch Revisions:

Developer: pistole@rhp.org

--- sapi/cli/php_cli.c	(revision 307493)
+++ sapi/cli/php_cli.c	(working copy)
@@ -380,7 +380,7 @@
 
 static int sapi_cli_header_handler(sapi_header_struct *h, sapi_header_op_enum op, sapi_headers_struct *s TSRMLS_DC) /* {{{ */
 {
-	return 0;
+	return SAPI_HEADER_ADD;
 }
 /* }}} */
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 10:01:31 2024 UTC