mirror of
https://github.com/php/php-src.git
synced 2024-09-24 11:27:28 +00:00
Fixed wrong warning
This commit is contained in:
parent
3822833c37
commit
922f3d5512
@ -2113,7 +2113,7 @@ PHPAPI php_stream_wrapper *php_stream_locate_url_wrapper(const char *path, char
|
||||
#ifdef PHP_WIN32
|
||||
if (localhost == 0 && path[n+3] != '\0' && path[n+3] != '/' && path[n+4] != ':') {
|
||||
#else
|
||||
if (localhost == 0 && path[n+3] != '/') {
|
||||
if (localhost == 0 && path[n+3] != '\0' && path[n+3] != '/') {
|
||||
#endif
|
||||
if (options & REPORT_ERRORS) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "remote host file access not supported, %s", path);
|
||||
|
Loading…
Reference in New Issue
Block a user