改进Connection类的connect方法

This commit is contained in:
thinkphp
2016-04-28 17:18:09 +08:00
parent 7050d8b630
commit d8214cca48
3 changed files with 21 additions and 18 deletions

View File

@@ -14,9 +14,9 @@ namespace think;
class View
{
// 视图实例
protected static $instance = null;
protected static $instance;
// 模板引擎实例
public $engine = null;
public $engine;
// 模板变量
protected $data = [];
// 视图输出替换