controller类默认use traits

This commit is contained in:
thinkphp
2015-12-10 15:44:54 +08:00
parent fcb4478b3b
commit 67c8bb5cde

View File

@@ -11,8 +11,12 @@
namespace think;
T('think/controller/view');
class Controller
{
use \traits\think\controller\view;
/**
* 控制器参数
* @var config