Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
|
289e6530a8 | |
|
1db989d7c8 |
|
@ -1224,7 +1224,7 @@ class CLIController
|
|||
echo Colors::DEFAULT . ' Version: ' . Colors::YELLOW . $decodedData->version;
|
||||
echo Colors::DEFAULT . ' (Build: ' . Colors::YELLOW . $decodedData->buildnumber . Colors::DEFAULT . ')' . PHP_EOL;
|
||||
} else {
|
||||
echo Color::RED . ' Error: ' . Colors::YELLOW . $result['data'] . Colors::DEFAULT . PHP_EOL;
|
||||
echo Colors::RED . ' Error: ' . Colors::YELLOW . $result['data'] . Colors::DEFAULT . PHP_EOL;
|
||||
}
|
||||
// var_dump($result);
|
||||
$skipAAAA = true;
|
||||
|
|
|
@ -15,6 +15,19 @@ class Security
|
|||
private bool $hstsInclude;
|
||||
private bool $hstsPreload;
|
||||
|
||||
private bool $isPreferHttps;
|
||||
|
||||
public function isPreferHttps(): bool
|
||||
{
|
||||
return $this->isPreferHttps;
|
||||
}
|
||||
|
||||
public function setIsPreferHttps(bool $isPreferHttps): void
|
||||
{
|
||||
$this->isPreferHttps = $isPreferHttps;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue