From e970ef8ce98c72a93ca8eebae88dcce5387b6c16 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 18 Nov 2017 16:45:49 -0500 Subject: [PATCH] The FileCacheBackend should cache with template basename. --- views/file_cache_backend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/file_cache_backend.php b/views/file_cache_backend.php index b4c9952..479ea2a 100644 --- a/views/file_cache_backend.php +++ b/views/file_cache_backend.php @@ -70,6 +70,6 @@ class FileCacheBackend implements CacheBackend /*! Returns the cache path for a given template name. */ protected function _CachePath($name) { - return $this->cache_path . $name . '.phpi'; + return $this->cache_path . basename($name) . '.phpi'; } } -- 2.43.5