]> granicus.if.org Git - php/commitdiff
MFB: fix erroneous use of php_resolve_path in _php_stream_wrapper_open_ex - this...
authorGreg Beaver <cellog@php.net>
Mon, 28 Apr 2008 22:40:10 +0000 (22:40 +0000)
committerGreg Beaver <cellog@php.net>
Mon, 28 Apr 2008 22:40:10 +0000 (22:40 +0000)
main/streams/streams.c

index d81996de0da3904582591200c5b1b0f44df288e1..91c7a6a960bd293232c7afc1f68913ad74e82767 100755 (executable)
@@ -2374,7 +2374,7 @@ PHPAPI php_stream *_php_stream_open_wrapper_ex(char *path, char *mode, int optio
        }
 
        if (options & USE_PATH) {
-               resolved_path = php_resolve_path(path, strlen(path), PG(include_path) TSRMLS_CC);
+               resolved_path = zend_resolve_path(path, strlen(path) TSRMLS_CC);
                if (resolved_path) {
                        path = resolved_path;
                        /* we've found this file, don't re-check include_path or run realpath */