From: Dmitry Stogov Date: Mon, 25 Mar 2013 09:30:45 +0000 (+0400) Subject: Fixed copy/paste mistake X-Git-Tag: php-5.5.0beta2~13^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f17156c2d1af7e126b92c21d31eef4f18b66821d;p=php Fixed copy/paste mistake --- diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index bfe9d67fcb..694bbed552 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -137,7 +137,7 @@ static inline int is_stream_path(const char *filename) static inline int is_cachable_stream_path(const char *filename) { return memcmp(filename, "file://", sizeof("file://") - 1) == 0 || - memcmp(filename, "phar://", sizeof("file://") - 1) == 0; + memcmp(filename, "phar://", sizeof("phar://") - 1) == 0; } /* O+ overrides PHP chdir() function and remembers the current working directory