Return root path of the project. See bellow example:
App::Config()->rootDir([Sub Part])
This function return hosted path of the website.
Example:
// return /var/www/myproject/
$location = App::Config()->rootDir();
// return /var/www/myproject/development
$location = App::Config()->rootDir("/development");
See also: baseDir baseUrl filemanagerDir filemanagerUrl skinDir skinUrl