Skip to content

Kirby 4.4.1

$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