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']);