Skip to content

Kirby 5.2.0

$kirby->isCorsEnabled()

Checks if CORS support is enabled

$kirby->isCorsEnabled(): bool

Return type

bool

This method modifies the existing $app object it is applied to and returns it again.

Parent class

Kirby\Cms\App