diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2006-05-16 14:11:52 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2006-05-16 14:11:52 +0000 |
commit | ccad354535ff85ac23ed24b3a89be6012c2a29a9 (patch) | |
tree | 81a2740ca4f93ea78a652b56416ed2bd5e0314e8 /ext/standard/php_fopen_wrapper.c | |
parent | 1feef82dc4d59d71d9b99dcae2e201f0dd70d1f3 (diff) | |
download | php-git-ccad354535ff85ac23ed24b3a89be6012c2a29a9.tar.gz |
Make filters without a resource throw E_RECOVERABLE_ERROR rather then
E_ERROR
Diffstat (limited to 'ext/standard/php_fopen_wrapper.c')
-rw-r--r-- | ext/standard/php_fopen_wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |