更新内核
This commit is contained in:
@@ -140,8 +140,10 @@ class Think
|
||||
{
|
||||
if (is_array($name)) {
|
||||
$this->template->config($name);
|
||||
$this->config = array_merge($this->config, $name);
|
||||
} else {
|
||||
$this->template->$name = $value;
|
||||
$this->config[$name] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user