Skip to content

Kirby 4.1.2

$site->root()

Returns the absolute path to the content directory

$site->root(): string

Return type

string

Parent class

Kirby\Cms\Site