diff options
| -rwxr-xr-x | main/streams/streams.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/streams/streams.c b/main/streams/streams.c index b429fcba48..50a1db916b 100755 --- a/main/streams/streams.c +++ b/main/streams/streams.c @@ -1609,8 +1609,8 @@ PHPAPI php_stream_wrapper *php_stream_locate_url_wrapper(const char *path, char if (wrapperpp && (*wrapperpp)->is_url && (options & STREAM_DISABLE_URL_PROTECTION) == 0 && (!PG(allow_url_fopen) || - ((options & STREAM_OPEN_FOR_INCLUDE) || - PG(in_user_include)) && !PG(allow_url_include))) { + (((options & STREAM_OPEN_FOR_INCLUDE) || + PG(in_user_include)) && !PG(allow_url_include)))) { if (options & REPORT_ERRORS) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "URL file-access is disabled in the server configuration"); } |
