How to retrieve from variable the directory installation of elgg

I've installed elgg 1.61 ... how i can get the installation directory from a single variable.

For example I get the url of my site with: $vars['url']

But for path installation (es. /www/root/htdocs)?

Thanks