mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-16 12:26:30 +00:00
Fix load cache
This commit is contained in:
committed by
Fabien Potencier
parent
71ad9ff322
commit
b5df3d1dbe
@@ -46,7 +46,7 @@ class Twig_Cache_Filesystem implements Twig_CacheInterface
|
|||||||
*/
|
*/
|
||||||
public function load($key)
|
public function load($key)
|
||||||
{
|
{
|
||||||
@include_once $key;
|
if (file_exists($key)) @include_once $key;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user