$system->folderUrl()
Returns the URL to a system folder if the folder is located in the document root. Otherwise it will return null.
$system->folderUrl(string $folder): string|null
Parameters
Name | Type | Default | Description |
---|---|---|---|
$folderrequired | string |
no default value | 'git', 'content', 'site', 'kirby' |
Return types
string
ornull
This method modifies the existing $system
object it is applied to and returns it again.