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
Checks if the given Uri has the same domain as the index URL of the Kirby installation.
Home::hasValidDomain(Kirby\Http\Uri $uri): bool
| Name | Type | Default |
|---|---|---|
| $uri * | Kirby\Http\Uri |
– |
bool