The base directory is the directory path from which all path calculations are done.
The basedir is define in this order: