From 6e24ef18db51f4d42d3c76daca6b14f83f19f825 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sat, 8 Jan 2011 14:40:26 +0100 Subject: [PATCH] fixed typo --- lib/Twig/Environment.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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'; } /** -- 1.7.2.5