diff options
Diffstat (limited to 'ext/zlib/zlib_fopen_wrapper.c')
-rw-r--r-- | ext/zlib/zlib_fopen_wrapper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zlib/zlib_fopen_wrapper.c b/ext/zlib/zlib_fopen_wrapper.c index 0886689634..034311b809 100644 --- a/ext/zlib/zlib_fopen_wrapper.c +++ b/ext/zlib/zlib_fopen_wrapper.c @@ -101,8 +101,8 @@ php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, char *path, char *mod self = emalloc(sizeof(*self)); - if (strncasecmp("zlib://", path, 7) == 0) - path += 7; + if (strncasecmp("compress.zlib://", path, 16) == 0) + path += 16; else if (strncasecmp("zlib:", path, 5) == 0) path += 5; |