Skip to content

Kirby 5.0.4

$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

stringornull

This method modifies the existing $system object it is applied to and returns it again.

Parent class

Kirby\Cms\System