diff --git a/lib/Twig/Loader.php b/lib/Twig/Loader.php index 4eb1b965d..78759c19f 100644 --- a/lib/Twig/Loader.php +++ b/lib/Twig/Loader.php @@ -110,7 +110,7 @@ abstract class Twig_Loader implements Twig_LoaderInterface public function getCacheFilename($name) { - return $this->cache.'/twig_'.md5($name).'.cache'; + return $this->cache.'/twig_'.md5($name).'.php'; } protected function compile($source, $name)