summaryrefslogtreecommitdiff
path: root/main/streams/streams.c
diff options
context:
space:
mode:
authorLars Strojny <lstrojny@php.net>2008-12-14 16:27:30 +0000
committerLars Strojny <lstrojny@php.net>2008-12-14 16:27:30 +0000
commit7611a5d9849e8d1ca0c7019c546250b0360997c8 (patch)
tree11da5d636f77f9b49c1f1f56cf54a4d787de6755 /main/streams/streams.c
parent821c00eb436e03dca32d10bde060f04a965d4e84 (diff)
downloadphp-git-7611a5d9849e8d1ca0c7019c546250b0360997c8.tar.gz
MFB: If a wrapper could not be found it is either a typo or a configuration issue. But in both cases it is critical enough to warn the user. [DOC] (?)
Diffstat (limited to 'main/streams/streams.c')
-rwxr-xr-xmain/streams/streams.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/streams/streams.c b/main/streams/streams.c
index ec054813da..3f4b1c5826 100755
--- a/main/streams/streams.c
+++ b/main/streams/streams.c
@@ -2104,8 +2104,8 @@ PHPAPI php_stream_wrapper *php_stream_locate_url_wrapper(const char *path, char
n = sizeof(wrapper_name) - 1;
}
PHP_STRLCPY(wrapper_name, protocol, sizeof(wrapper_name), n);
-
- php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Unable to find the wrapper \"%s\" - did you forget to enable it when you configured PHP?", wrapper_name);
+
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to find the wrapper \"%s\" - did you forget to enable it when you configured PHP?", wrapper_name);
wrapperpp = NULL;
protocol = NULL;