From e4ed3c43f16bcafa3137e8308cf3b4f10388623b Mon Sep 17 00:00:00 2001 From: thinkphp Date: Thu, 28 Jul 2016 21:15:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9BTemplate=E7=B1=BB=E7=9A=84cac?= =?UTF-8?q?he=5Fpath=E5=8F=82=E6=95=B0=E9=BB=98=E8=AE=A4=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Template.php b/library/think/Template.php index 9051ebe1..f22b3297 100644 --- a/library/think/Template.php +++ b/library/think/Template.php @@ -61,7 +61,7 @@ class Template */ public function __construct(array $config = []) { - $this->config['cache_path'] = RUNTIME_PATH . 'temp' . DS; + $this->config['cache_path'] = TEMP_PATH; $this->config = array_merge($this->config, $config); $this->config['taglib_begin'] = $this->stripPreg($this->config['taglib_begin']); $this->config['taglib_end'] = $this->stripPreg($this->config['taglib_end']);