Move safemode/basedir checks for url_stat to plain_wrapper.

This commit is contained in:
Sara Golemon 2003-12-01 19:47:05 +00:00
parent 74eed61504
commit 681d18effd
3 changed files with 21 additions and 9 deletions

View file

@ -319,6 +319,7 @@ PHPAPI int _php_stream_set_option(php_stream *stream, int option, int value, voi
/* Flags for url_stat method in wrapper ops */
#define PHP_STREAM_URL_STAT_LINK 1
#define PHP_STREAM_URL_STAT_QUIET 2
/* change the blocking mode of stream: value == 1 => blocking, value == 0 => non-blocking. */
#define PHP_STREAM_OPTION_BLOCKING 1