改进Config类和App类 Lange类

支持扩展配置文件分离
This commit is contained in:
thinkphp
2015-12-01 19:47:57 +08:00
parent 2375e257b3
commit 5f1fe79e17
11 changed files with 145 additions and 116 deletions

View File

@@ -1414,9 +1414,9 @@ class Model
* @access public
* @return Model
*/
public function readMaster()
public function master()
{
$this->options['read_master'] = true;
$this->options['master'] = true;
return $this;
}
}