解决未登录也能文件上传的问题
This commit is contained in:
16
app/controller/user/Upload.php
Normal file
16
app/controller/user/Upload.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2013 http://www.tensent.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace app\controller\user;
|
||||
|
||||
use app\controller\Upload as Uploads;
|
||||
|
||||
class Upload extends Base {
|
||||
use Uploads;
|
||||
}
|
||||
Reference in New Issue
Block a user