error 405

This commit is contained in:
adrien committed 2025-02-06 23:00:56 +01:00
1 parent d97c6cb7c2
commit fa98fd7e58
1 file changed
+5
+5
View File
@@ -163,6 +163,11 @@ if ($cmd) {
header('Content-type: text/xml');
system("$cmd", $retcode);
if ($retcode) {
http_response_code(405);
die();
}
exit();
}