https://src.bluestatic.org
/
hoplite.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db920cc
)
The FileCacheBackend should cache with template basename.
author
Robert Sesek <rsesek@bluestatic.org>
Sat, 18 Nov 2017 21:45:49 +0000
(16:45 -0500)
committer
Robert Sesek <rsesek@bluestatic.org>
Sat, 18 Nov 2017 21:45:49 +0000
(16:45 -0500)
views/file_cache_backend.php
patch
|
blob
|
history
diff --git
a/views/file_cache_backend.php
b/views/file_cache_backend.php
index b4c9952714ebb741cc35f1657dd5064afec12c4b..479ea2a1e6ba83ceb5e9c63a9082053c37326e79 100644
(file)
--- 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';
}
}