test 500 fix

This commit is contained in:
Thomas G 2022-08-09 05:02:46 +10:00
parent 89840a6229
commit f1578f676d
2 changed files with 5 additions and 3 deletions

0
public/fail.xml Normal file
View File

View File

@ -12,12 +12,14 @@
readfile($file);
//
//header("location:" . "http://morblox.us/stamper/base/{$userid}.xml");
}
//http://www.morblox.us/stamper/inseassetcollect.php?sid=433603
if ($sid != 0 && $type == "0")
} elseif ($sid != 0 && $type == "0")
{
header("content-type:text/xml");
$file = "http://morblox.us/stamper/sid/{$sid}.xml";
readfile($file);
} else
header("content-type:text/xml");
$file = "http://morblox.us/fail.xml";
readfile($file);
}
@endphp