$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 |
|---|---|---|---|
| $folderrequired | string |
no default value | 'git', 'content', 'site', 'kirby' |
Return types
stringornull
This method modifies the existing $system object it is applied to and returns it again.