mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
改进Template类的cache_path参数默认设置
This commit is contained in:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user