Stop submission of plugin syntax error crashes

This commit is contained in:
Shoghi Cervantes 2014-08-15 16:18:54 +02:00
parent 31b92b392e
commit a7b44e3892

View File

@ -1870,6 +1870,8 @@ class Server{
}
}elseif(\Phar::running(true) == ""){
return;
}elseif($dump->getData()["type"] === "E_PARSE" or $dump->getData()["type"] === "E_COMPILE_ERROR"){
return;
}
$reply = Utils::postURL("http://".$this->getProperty("auto-report.host", "crash.pocketmine.net")."/submit/api", [