$file->root()

Returns the full root for a file

Example

echo $page->file()->root();
i.e. /var/www/yourdomain.com/html/content/some-page/some-file.jpg