public function getConfdDir($relativePathToAppend = '') { return $this->realpath($this->makePathAbsolute($this->getSystemConfiguration()->getParam(DirectoryKeys::ETC_APPSERVER_CONFD) . $this->makePathAbsolute($relativePathToAppend))); }
/** * Tests if getting just the configuration sub-directory works * * @return null */ public function testGetConfdDirNothingToAppend() { $dir = $this->service->getConfdDir(); $this->assertEquals('/opt/appserver/etc/appserver/conf.d', $dir); $this->assertNotEquals('/opt/appserver/etc/appserver/conf.d/test/directory', $dir); }