Skip to content

Kirby 4.2.0

Home::hasValidDomain()

Checks if the given Uri has the same domain as the index URL of the Kirby installation.

Home::hasValidDomain(Kirby\Http\Uri $uri): bool

Parameters

Name Type Default
$uri * Kirby\Http\Uri

Return type

bool

Parent class

Kirby\Panel\Home