Some Fixes

This commit is contained in:
JonatanRek committed 2020-09-02 14:03:00 +02:00
1 parent 8e33d226cd
commit 960859087a
3 files changed
+43 -98

No files matched your search

+5
View File
@@ -24,6 +24,11 @@ class UpdatesApi {
$logManager->setLevel(LOGLEVEL);
$logManager->write("[Updater] Client Connected", LogRecordTypes::INFO);
if($this->validateHeader($_SERVER)){
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
die();
}
header('Content-type: text/plain; charset=utf8', true);
//Filtrování IP adress