fixed typo

git-svn-id: http://svn.twig-project.org/trunk@14 93ef8e89-cb99-4229-a87c-7fa0fa45744b
This commit is contained in:
fabien
2009-10-10 08:45:01 +00:00
parent cdda9ab744
commit 6dd1e0bc07
+1 -1
View 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))
{