$environment->setupFromArray() The current URL should be auto detected from a host allowlist kirby/src/Cms/Environment.php#L121 $environment->setupFromArray(array $allowed): Kirby\Http\Uri Parameters Name Type Default $allowed * array – Return type Kirby\Http\Uri Parent class Kirby\Cms\Environment