Method Environment::documentRoot

Meta:

Written by

Leo Feyer <http://www.contao.org>

/system/libraries/Environment.php line 160
Automatically extracted PHP DOC comment from code:

Return the document root (e.g. /home/www/user/)
Calculated as SCRIPT_FILENAME minus SCRIPT_NAME as some CGI versions
and mod-rewrite rules might return an incorrect DOCUMENT_ROOT.

END OF PHP DOC
protected function string documentRoot()
no parameters

Add a comment

What is the sum of 2 and 7?