From: Ilia Alshanetsky Date: Tue, 16 May 2006 14:11:52 +0000 (+0000) Subject: Make filters without a resource throw E_RECOVERABLE_ERROR rather then X-Git-Tag: php-5.2.0RC1~538 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ccad354535ff85ac23ed24b3a89be6012c2a29a9;p=php Make filters without a resource throw E_RECOVERABLE_ERROR rather then E_ERROR --- diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c index d3021912b1..1e05f3d556 100644 --- a/ext/standard/php_fopen_wrapper.c +++ b/ext/standard/php_fopen_wrapper.c @@ -207,7 +207,7 @@ php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, ch pathdup = estrndup(path + 6, strlen(path + 6)); p = strstr(pathdup, "/resource="); if (!p) { - php_error_docref(NULL TSRMLS_CC, E_ERROR, "No URL resource specified."); + php_error_docref(NULL TSRMLS_CC, E_RECOVERABLE_ERROR, "No URL resource specified."); efree(pathdup); return NULL; }