Skip to content

Kirby 4.5.0

$site->root()

Returns the absolute path to the content directory

$site->root(): string

Return type

string

Parent class

Kirby\Cms\Site