Fix load cache

This commit is contained in:
Javier Feria
2016-05-17 13:51:27 +02:00
committed by Fabien Potencier
parent 71ad9ff322
commit b5df3d1dbe
+1 -1
View File
@@ -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;
} }
/** /**