$file->root()
Returns the full root for a file
-
return (string)
Example
echo $page->file()->root();
// i.e. /var/www/yourdomain.com/html/content/some-page/some-file.jpg
Returns the full root for a file
echo $page->file()->root();
// i.e. /var/www/yourdomain.com/html/content/some-page/some-file.jpg