From: Robert Sesek Date: Sat, 18 Nov 2017 21:45:49 +0000 (-0500) Subject: The FileCacheBackend should cache with template basename. X-Git-Url: https://src.bluestatic.org/?a=commitdiff_plain;h=e970ef8ce98c72a93ca8eebae88dcce5387b6c16;p=hoplite.git The FileCacheBackend should cache with template basename. --- 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'; } }