Skip to content

Kirby 6.0.0

$site->mediaDir()

Returns the absolute path to the media folder for the page

$site->mediaDir(): string

Return type

string

Parent class

Kirby\Cms\Site