AppserverIo\Appserver\Core\Api\AbstractService::getEtcDir PHP Method

getEtcDir() public method

Return's the server's base configuration directory.
public getEtcDir ( string $relativePathToAppend = '' ) : string
$relativePathToAppend string A relative path to append
return string The server's base configuration directory
    public function getEtcDir($relativePathToAppend = '')
    {
        return $this->realpath($this->makePathAbsolute($this->getSystemConfiguration()->getParam(DirectoryKeys::ETC) . $this->makePathAbsolute($relativePathToAppend)));
    }