From 1ccdb19a8537c4edf60d4b40c6564121c02c904a Mon Sep 17 00:00:00 2001 From: fabien Date: Sat, 10 Oct 2009 13:57:11 +0000 Subject: [PATCH] added a prefix to the temp directory git-svn-id: http://svn.twig-project.org/trunk@18 93ef8e89-cb99-4229-a87c-7fa0fa45744b --- lib/Twig/Loader.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/Twig/Loader.php b/lib/Twig/Loader.php index 924e667..8bf8804 100644 --- a/lib/Twig/Loader.php +++ b/lib/Twig/Loader.php @@ -39,7 +39,7 @@ abstract class Twig_Loader implements Twig_LoaderInterface */ public function __construct($cache = null, $autoReload = true) { - $this->cache = null === $cache ? sys_get_temp_dir().DIRECTORY_SEPARATOR.md5(dirname(__FILE__)) : $cache; + $this->cache = null === $cache ? sys_get_temp_dir().DIRECTORY_SEPARATOR.'twig_'.md5(dirname(__FILE__)) : $cache; if (false !== $this->cache && !is_dir($this->cache)) { -- 1.7.2.5