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