getConfdDir() public method

Return's the server's configuration subdirectory.
public getConfdDir ( string $relativePathToAppend = '' ) : string
$relativePathToAppend string A relative path to append
return string The server's configuration subdirectory
Ejemplo n.º 1
0
 /**
  * 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);
 }