修复不工作的文件校验功能
*应该是漏加了
This commit is contained in:
parent
6fc8396d80
commit
797cf47605
@ -40,7 +40,7 @@ class HomeController extends Controller
|
|||||||
'rules' => [
|
'rules' => [
|
||||||
[
|
[
|
||||||
'allow' => true,
|
'allow' => true,
|
||||||
'actions' => ['index', 'download', 'preview', 'rename', 'delete', 'upload', 'new-folder', 'download-folder', 'multi-ff-zip-dl', 'zip', 'unzip', 'paste', 'search'],
|
'actions' => ['index', 'download', 'preview', 'rename', 'delete', 'upload', 'new-folder', 'download-folder', 'multi-ff-zip-dl', 'zip', 'unzip', 'paste', 'search','checksum'],
|
||||||
'roles' => ['user'],
|
'roles' => ['user'],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
@ -60,7 +60,8 @@ class HomeController extends Controller
|
|||||||
'zip' => ['POST'], //剩余空间检查√
|
'zip' => ['POST'], //剩余空间检查√
|
||||||
'unzip' => ['POST'], //剩余空间检查√
|
'unzip' => ['POST'], //剩余空间检查√
|
||||||
'paste' => ['POST'], //剩余空间检查√
|
'paste' => ['POST'], //剩余空间检查√
|
||||||
'search' => ['POST']
|
'search' => ['POST'],
|
||||||
|
'checksum' => ['POST'],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user