Exemple #1
0
 /**
  * Test getAccessLog(), getErrorLog().
  */
 public function testGetLog()
 {
     $domain = new Domain();
     $vhost = new Vhost();
     $domain->setPath('/var/www/test.de');
     $vhost->setDomain($domain);
     $this->assertEquals('/var/www/test.de/logs/access.log', $vhost->getAccessLog());
     $this->assertEquals('/var/www/test.de/logs/error.log', $vhost->getErrorLog());
 }