Skip to content

Commit

Permalink
plugins: style sweep
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Jun 20, 2024
1 parent 0faec69 commit 58d06c7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5750,7 +5750,7 @@ body {
height: auto;
padding: 7px 14px 5px 14px;
-webkit-box-shadow: 0 3px 4px rgb(23, 23, 23);
box-shadow: 0 3px 4px rgb(23, 23, 23);
box-shadow: 0 3px 4px rgb(23, 23, 23);
border-radius: 0.5em 0.5em 0.5em 0.5em; }
.page-content-head, .content-box-head {
padding-bottom: 2px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ private function checkSubdomainsAgainstDomains($subdomains, $domains, $messages)
}

// 3. Get the current OPNsense WebGUI ports and check for conflicts with Caddy
private function getWebGuiPorts() {
private function getWebGuiPorts()
{
$webgui = Config::getInstance()->object()->system->webgui ?? null;
$webGuiPorts = [];

Expand All @@ -126,7 +127,8 @@ private function getWebGuiPorts() {
return $webGuiPorts;
}

private function checkWebGuiSettings($messages) {
private function checkWebGuiSettings($messages)
{
$overlap = array_intersect($this->getWebGuiPorts(), ['80', '443']);
$tlsAutoHttpsSetting = (string)$this->general->TlsAutoHttps;

Expand All @@ -140,7 +142,8 @@ private function checkWebGuiSettings($messages) {
}

// 4. Check for ACME Email being required when Auto HTTPS on
private function checkAcmeEmailAutoHttps($messages) {
private function checkAcmeEmailAutoHttps($messages)
{
$tlsAutoHttpsSetting = (string)$this->general->TlsAutoHttps;
$tlsEmail = (string)$this->general->TlsEmail;

Expand Down

0 comments on commit 58d06c7

Please sign in to comment.