From: Dmitry Stogov Date: Tue, 10 Jul 2007 11:57:34 +0000 (+0000) Subject: Fixed warning X-Git-Tag: php-5.2.4RC1~201 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=510bee631fe56ec86d2ebd6531df81fad7d3872a;p=php Fixed warning --- 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"); }