From 0203b3cf38eb3403318bc162e1103fc4c9e13d57 Mon Sep 17 00:00:00 2001 From: shuipf Date: Sat, 20 Feb 2016 12:55:05 +0800 Subject: [PATCH] Update View.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改$engine修饰符为public --- library/think/View.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/View.php b/library/think/View.php index 03c7e7e8..ce9c9967 100644 --- a/library/think/View.php +++ b/library/think/View.php @@ -16,7 +16,7 @@ class View // 视图实例 protected static $instance = null; // 模板引擎实例 - protected $engine = null; + public $engine = null; // 模板主题名称 protected $theme = ''; // 模板变量