fix bug: encrypt->Encrypt

This commit is contained in:
qkqpttgf 2020-05-04 12:34:08 +08:00 committed by GitHub
parent 73e952bb5c
commit 94ab3fec4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -880,7 +880,7 @@ function adminoperate($path)
//savecache('path_' . $path1, json_decode('{}',true), 1);
return output($result['body'], $result['stat']);
}
if (isset($_GET['operate_action'])&&$_GET['operate_action']==getconstStr('encrypt')) {
if (isset($_GET['operate_action'])&&$_GET['operate_action']==getconstStr('Encrypt')) {
// encrypt 加密
if (getConfig('passfile')=='') return message(getconstStr('SetpassfileBfEncrypt'),'',403);
if ($_GET['encrypt_folder']=='/') $_GET['encrypt_folder']=='';