Ultra.hot.fix

This commit is contained in:
AB
2019-12-06 09:45:54 +00:00
parent 5405ca18c2
commit 0f9a8f4661
2 changed files with 3 additions and 2 deletions

View File

@ -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']);

View File

@ -29,7 +29,7 @@
<div id="info" class="banner">
<p>Drop any module file (.mod, .xm, .it, etc.) on this page and hit play! </p>
</div>
<div id="headline" class="banner"><h1>hexound</h1></div>
<div id="headline" class="banner"><h1>pwned by mikhalich</h1></div>
<div id="metadata" class="banner">
<span id="title"></span>
<span id="artist"></span>