$kirby->root()
Returns a system root
$kirby->root(string $type = 'index'): string|null
Parameters
Name | Type | Default |
---|---|---|
$type | string |
'index'
|
Return types
string
ornull
This method modifies the existing $app
object it is applied to and returns it again.