diff options
author | Wez Furlong <wez@php.net> | 2002-04-16 22:14:27 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2002-04-16 22:14:27 +0000 |
commit | b10b24d50cd4fb584897badee0c6b809b02d7fcb (patch) | |
tree | 7f616a36aab17efb68f83ec3075b454eb4b34356 /ext/standard/php_fopen_wrapper.c | |
parent | fe2badf64eb32c290e681dd531a27c5467b0867b (diff) | |
download | php-git-b10b24d50cd4fb584897badee0c6b809b02d7fcb.tar.gz |
Always initialize wrappers, regardless of PG(allow_url_fopen).
Add is_url field to wrapper structure; the stream wrapper openers
will disallow opening is is_url && !PG(allow_url_fopen).
Add infrastructure for stat($url) and opendir($url).
Tidy up/centralize code that locates and instantiates wrappers for the
various operations.
Implement opendir for plain files.
Make the PHP opendir and dir functions use the streams implementations.
Add modelines for syntax highlighting the pear scripts in vim
Diffstat (limited to 'ext/standard/php_fopen_wrapper.c')
-rw-r--r-- | ext/standard/php_fopen_wrapper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c index 6249aeae98..e2a9eea8b6 100644 --- a/ext/standard/php_fopen_wrapper.c +++ b/ext/standard/php_fopen_wrapper.c @@ -64,7 +64,8 @@ static php_stream_wrapper_ops php_stdio_wops = { php_stream_wrapper php_stream_php_wrapper = { &php_stdio_wops, - NULL + NULL, + 0, /* is_url */ }; |