Skip to content

Kirby 4.1.2

$asset->mediaRoot()

Returns the absolute path to the file in the public media folder

$asset->mediaRoot(): string

Return type

string

Parent class

Kirby\Filesystem\Asset