小细节优化

This commit is contained in:
tale
2016-01-29 15:01:49 +08:00
parent 7609595eba
commit 609d5a705c
3 changed files with 3 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ class Template
*/
public function __construct(array $config = [])
{
$this->config['cache_path'] = RUNTIME_PATH . 'template' . DS;
$this->config['cache_path'] = RUNTIME_PATH . 'temp' . DS;
$this->config = array_merge($this->config, empty($config) ? (array) Config::get('template') : $config);
$this->config['taglib_begin'] = $this->stripPreg($this->config['taglib_begin']);
$this->config['taglib_end'] = $this->stripPreg($this->config['taglib_end']);