$system->exposedFileUrl()
Returns the URL to the file within a system folder if the file is located in the document root. Otherwise it will return null.
$system->exposedFileUrl(string $folder): string|null
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $folder * | string |
– | 'git', 'content', 'site', 'kirby' |
Return type
string|null