PATH_DOCUMENT_ROOT
PATH_DOCUMENT_ROOT
For use with usePath() - Represents the apache document root
path( $append, integer|string $use) : string
Get an absolute path for the specified relative path (relative to the currently used internal root path).
$append | ||
integer|string | $use | Either one of the PATH class constants or an actual path to a directory that exists, and is readable |
realpath(string $append) : string
Get an absolute path for the specified relative path, convert symlinks to a canonical path, and check the path exists.
This method is very similar to path() except the result is then run through php's standard realpath() function.
string | $append | The relative path to append to the root path |