]> granicus.if.org Git - php/commitdiff
MFB: If a wrapper could not be found it is either a typo or a configuration issue...
authorLars Strojny <lstrojny@php.net>
Sun, 14 Dec 2008 16:27:30 +0000 (16:27 +0000)
committerLars Strojny <lstrojny@php.net>
Sun, 14 Dec 2008 16:27:30 +0000 (16:27 +0000)
ext/standard/tests/file/stream_001.phpt
main/streams/streams.c

index af3459c562b753ccbfdd212ea1b0d8ceeda012a2..fc9448efc36b559ba4be61817177fd6e5b57f131 100644 (file)
@@ -13,7 +13,7 @@ echo "Done\n";
 --EXPECTF--
 bool(true)
 
-Notice: fopen(): Unable to find the wrapper "file" - did you forget to enable it when you configured PHP? in %s on line %d
+Warning: fopen(): Unable to find the wrapper "file" - did you forget to enable it when you configured PHP? in %s on line %d
 
 Warning: fopen(): Plainfiles wrapper disabled in %s on line %d
 
index ec054813daa7e8bf56aec2966957692b598def62..3f4b1c5826b7c988708e7a0c9500cb950156160b 100755 (executable)
@@ -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;