diff options
author | Andi Gutmans <andi@php.net> | 2006-02-19 04:29:42 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2006-02-19 04:29:42 +0000 |
commit | 1efe984d08ccab1d06f062ca157e3bdb2cb7cd57 (patch) | |
tree | f12f77325e51b257cb0a8f039ed7568e4ed0fb34 /main/main.c | |
parent | 8f126f33ac87e3bf1432b2a94f27e5f8f47cde9f (diff) | |
download | php-git-1efe984d08ccab1d06f062ca157e3bdb2cb7cd57.tar.gz |
- Get rid of using ENFORCE_SAFE_MODE.
Diffstat (limited to 'main/main.c')
-rw-r--r-- | main/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/main.c b/main/main.c index 06fe98397e..755fe77519 100644 --- a/main/main.c +++ b/main/main.c @@ -1001,7 +1001,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|STREAM_OPEN_FOR_INCLUDE, opened_path); + return php_stream_open_wrapper_as_file((char *)filename, "rb", USE_PATH|IGNORE_URL_WIN|REPORT_ERRORS|STREAM_OPEN_FOR_INCLUDE, opened_path); } /* }}} */ @@ -1019,7 +1019,7 @@ static int php_stream_open_for_zend(const char *filename, zend_file_handle *hand { php_stream *stream; - stream = php_stream_open_wrapper((char *)filename, "rb", ENFORCE_SAFE_MODE|USE_PATH|REPORT_ERRORS|STREAM_OPEN_FOR_INCLUDE, &handle->opened_path); + stream = php_stream_open_wrapper((char *)filename, "rb", USE_PATH|REPORT_ERRORS|STREAM_OPEN_FOR_INCLUDE, &handle->opened_path); if (stream) { handle->type = ZEND_HANDLE_STREAM; |