Skip to content

Kirby 4.5.0

$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
$folder * string 'git', 'content', 'site', 'kirby'

Return type

string|null

Parent class

Kirby\Cms\System