From f17156c2d1af7e126b92c21d31eef4f18b66821d Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 25 Mar 2013 13:30:45 +0400 Subject: [PATCH] Fixed copy/paste mistake --- ext/opcache/ZendAccelerator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1