]> granicus.if.org Git - php/commitdiff
Fixed warning
authorDmitry Stogov <dmitry@php.net>
Tue, 10 Jul 2007 11:57:34 +0000 (11:57 +0000)
committerDmitry Stogov <dmitry@php.net>
Tue, 10 Jul 2007 11:57:34 +0000 (11:57 +0000)
main/streams/streams.c

index b429fcba48e1b4cdb6e2326c651c5d9e509336f5..50a1db916b60d5f006ab11993cf5739bfb047282 100755 (executable)
@@ -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");
                }