mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Move safemode/basedir checks for url_stat to plain_wrapper.
This commit is contained in:
parent
74eed61504
commit
681d18effd
3 changed files with 21 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue