]> granicus.if.org Git - php/commit
Always initialize wrappers, regardless of PG(allow_url_fopen).
authorWez Furlong <wez@php.net>
Tue, 16 Apr 2002 22:14:27 +0000 (22:14 +0000)
committerWez Furlong <wez@php.net>
Tue, 16 Apr 2002 22:14:27 +0000 (22:14 +0000)
commitb10b24d50cd4fb584897badee0c6b809b02d7fcb
tree7f616a36aab17efb68f83ec3075b454eb4b34356
parentfe2badf64eb32c290e681dd531a27c5467b0867b
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
12 files changed:
ext/standard/basic_functions.c
ext/standard/dir.c
ext/standard/ftp_fopen_wrapper.c
ext/standard/http_fopen_wrapper.c
ext/standard/php_fopen_wrapper.c
ext/zlib/zlib.c
ext/zlib/zlib_fopen_wrapper.c
main/php.h
main/php_streams.h
main/streams.c
pear/scripts/pear.in
pear/scripts/pearize.in