fixed typo
authorfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Sat, 10 Oct 2009 08:45:01 +0000 (08:45 +0000)
committerfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Sat, 10 Oct 2009 08:45:01 +0000 (08:45 +0000)
git-svn-id: http://svn.twig-project.org/trunk@14 93ef8e89-cb99-4229-a87c-7fa0fa45744b

lib/Twig/Loader.php

index 3e2eb56..924e667 100644 (file)
@@ -39,7 +39,7 @@ abstract class Twig_Loader implements Twig_LoaderInterface
    */
   public function __construct($cache = null, $autoReload = true)
   {
-    $this->cache = null === $this->cache ? sys_get_temp_dir().DIRECTORY_SEPARATOR.md5(dirname(__FILE__)) : $cache;
+    $this->cache = null === $cache ? sys_get_temp_dir().DIRECTORY_SEPARATOR.md5(dirname(__FILE__)) : $cache;
 
     if (false !== $this->cache && !is_dir($this->cache))
     {