diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2002-10-28 03:45:21 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2002-10-28 03:45:21 +0000 |
| commit | 728eacbf52b7b1dbc45af06d622d1fe7e4c01793 (patch) | |
| tree | c59bff110e98fef1a4223db8d5bfeecb37c2828f /main/main.c | |
| parent | 62d10bc9694eced2012af87c067173baa9211a94 (diff) | |
| download | php-git-728eacbf52b7b1dbc45af06d622d1fe7e4c01793.tar.gz | |
A better fix for bug #20110.
Diffstat (limited to 'main/main.c')
| -rw-r--r-- | main/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c index d03e605518..33e255e5f2 100644 --- a/main/main.c +++ b/main/main.c @@ -702,7 +702,7 @@ static FILE *php_fopen_wrapper_for_zend(const char *filename, char **opened_path { TSRMLS_FETCH(); - return php_stream_open_wrapper_as_file((char *)filename, "rb", ENFORCE_SAFE_MODE|USE_PATH|IGNORE_URL_WIN|REPORT_ERRORS, opened_path); + return php_stream_open_wrapper_as_file((char *)filename, "rb", ENFORCE_SAFE_MODE|USE_PATH|IGNORE_URL_WIN|REPORT_ERRORS|STREAM_OPEN_FOR_INCLUDE, opened_path); } /* }}} */ |
