mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Some Fixes
This commit is contained in:
1 parent
8e33d226cd
commit
960859087a
3 files changed
+43
-98
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user