Add files via upload

This commit is contained in:
qkqpttgf
2020-01-18 00:18:24 +08:00
committed by GitHub
parent 6f06f79461
commit ba22154eda
5 changed files with 791 additions and 58 deletions
+1 -1
View File
@@ -375,7 +375,7 @@ function main($path)
}
if (getConfig('admin')!='') {
if ($_POST['password1']==getConfig('admin')) {
return adminform($_SERVER['function_name'].'admin',md5($_POST['password1']),$url);
return adminform('admin',md5($_POST['password1']),$url);
} else return adminform();
} else {
return output('', 302, [ 'Location' => $url ]);