diff --git a/src/Controller/DomainController.php b/src/Controller/DomainController.php index bafd6b0..28ce927 100644 --- a/src/Controller/DomainController.php +++ b/src/Controller/DomainController.php @@ -127,11 +127,16 @@ class DomainController /** * @return bool */ - function checkPermissions(): bool + function checkPermissions(bool $disableVerbose = false): bool { $setupIsValid = true; - $verbose = $this->configController->getConfig(configKey: 'verbose'); - + + if (!$disableVerbose) { + $verbose = $this->configController->getConfig(configKey: 'verbose'); + } else { + $verbose = false; + } + $this->logger->debug(message: "checkPermissions()"); if ($verbose) {