diff options
author | Shane Caraveo <shane@php.net> | 2003-10-19 21:19:54 +0000 |
---|---|---|
committer | Shane Caraveo <shane@php.net> | 2003-10-19 21:19:54 +0000 |
commit | 3a6ff32e2b8ca21622f335802b94941d9f6453de (patch) | |
tree | b2188136ae93776e8163c4611cf88eed7b07c3d0 | |
parent | 2a41429472dbd9e3423cda24937f69b0ae744668 (diff) | |
download | php-git-3a6ff32e2b8ca21622f335802b94941d9f6453de.tar.gz |
finish file uri support, this stuff was unecessary.
-rw-r--r-- | main/streams/plain_wrapper.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c index 5286f4fcb2..1f060ec666 100644 --- a/main/streams/plain_wrapper.c +++ b/main/streams/plain_wrapper.c @@ -882,16 +882,6 @@ static php_stream *php_plain_files_dir_opener(php_stream_wrapper *wrapper, char static php_stream *php_plain_files_stream_opener(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) { - char *filename = path; - if (!strncasecmp(filename, "file:", sizeof("file:")-1)) { - filename += 6; - while (*(++filename)=='/'); -#ifdef PHP_WIN32 - if (*(filename + 1) != ':') -#endif - filename--; - } - if ((options & USE_PATH) && PG(include_path) != NULL) { return php_stream_fopen_with_path_rel(path, mode, PG(include_path), opened_path, options); } |