From: Fabien Potencier Date: Sat, 8 Jan 2011 13:40:26 +0000 (+0100) Subject: fixed typo X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=6e24ef18db51f4d42d3c76daca6b14f83f19f825;p=konrad%2Ftwig.git fixed typo --- diff --git a/lib/Twig/Environment.php b/lib/Twig/Environment.php index 46a6df1..5118656 100644 --- a/lib/Twig/Environment.php +++ b/lib/Twig/Environment.php @@ -240,7 +240,7 @@ class Twig_Environment $class = substr($this->getTemplateClass($name), strlen($this->templateClassPrefix)); - return $this->getCache().'/'.substr($class, 0, 2).'/'.substr($class, 2, 4).'/'.substr($class, 4).'.php'; + return $this->getCache().'/'.substr($class, 0, 2).'/'.substr($class, 2, 2).'/'.substr($class, 4).'.php'; } /**