Skip to content

Kirby 4.2.0

$site->root()

Returns the absolute path to the content directory

$site->root(): string

Return type

string

Parent class

Kirby\Cms\Site