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