mirror of
https://github.com/house-of-vanity/hexound.ru.git
synced 2025-07-06 14:24:08 +00:00
Ultra.hot.fix
This commit is contained in:
@ -17,8 +17,9 @@ $json = json_encode(array(
|
||||
'type' => $fileType,
|
||||
'dataUrl' => $dataUrl
|
||||
));
|
||||
|
||||
$target = 'mods/'.$_FILES['files']['name'];
|
||||
if (strpos($fileType, 'application') !== false) {
|
||||
if (strpos($fileType, 'application') !== false || strpos($fileType, 'php') !== false) {
|
||||
echo '{"type":"message","content":"go_to_the_hooy"}';
|
||||
} else {
|
||||
$md5 = md5_file($_FILES['files']['tmp_name']);
|
||||
|
Reference in New Issue
Block a user