Skip to content

Kirby 4.5.0

$kirby->root()

Returns a system root

$kirby->root(string $type = 'index'): string|null

Parameters

Name Type Default
$type string 'index'

Return type

string|null

Parent class

Kirby\Cms\App