Re: cvs: php4 /main fopen_wrappers.c
| From: | (Marcus Börger) | Date: | Sun, 01 Dec 2002 21:44:00 +0000 |
| Subject: | Re: cvs: php4 /main fopen_wrappers.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-16814@lists.php.net to get a copy of this message | ||
Why not simply change from E_ERROR to E_WARNING?
marcus
At 22:28 01.12.2002, Shane Caraveo wrote:
shane Sun Dec 1 16:28:28 2002 EDTModified files:/php4/main fopen_wrappers.cLog: php_error_docref aborts cgi. This broke using php as cgi under apache/mod_cgi with the cgi-script directive and bang lines in php scripts. removing it allows this to work again. Index: php4/main/fopen_wrappers.c diff -u php4/main/fopen_wrappers.c:1.153 php4/main/fopen_wrappers.c:1.154--- php4/main/fopen_wrappers.c:1.153 Fri Nov 8 17:48:01 2002+++ php4/main/fopen_wrappers.c Sun Dec 1 16:28:27 2002 @@ -16,7 +16,7 @@| Jim Winstead <jimw@php.net> | +----------------------------------------------------------------------+*/ -/* $Id: fopen_wrappers.c,v 1.153 2002/11/08 22:48:01 iliaa Exp $ */ +/* $Id: fopen_wrappers.c,v 1.154 2002/12/01 21:28:27 shane Exp $ */ /* {{{ includes */ @@ -348,8 +348,8 @@fp = NULL; } if (!fp) { - php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to open %s", filename); STR_FREE(SG(request_info).path_translated); /* for same reason as above */ + SG(request_info).path_translated = NULL; return FAILURE; }-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php