parent
bb7f465c0e
commit
8e28fff524
|
@ -6,7 +6,7 @@ namespace Icinga\Clicommands;
|
|||
|
||||
use Icinga\Application\Logger;
|
||||
use Icinga\Cli\Command;
|
||||
use Icinga\Config\Webserver\WebServer;
|
||||
use Icinga\Config\Webserver\Webserver;
|
||||
use Icinga\Exception\ProgrammingError;
|
||||
|
||||
/**
|
||||
|
@ -153,7 +153,7 @@ class SetupCommand extends Command
|
|||
$this->fail($this->translate('Argument type is mandatory.'));
|
||||
}
|
||||
try {
|
||||
$webserver = WebServer::createInstance($type);
|
||||
$webserver = Webserver::createInstance($type);
|
||||
} catch (ProgrammingError $e) {
|
||||
$this->fail($this->translate('Unknown type') . ': ' . $type);
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace Icinga\Config\Webserver;
|
|||
/**
|
||||
* Generate apache 2.x (< 2.4) configuration
|
||||
*/
|
||||
class Apache2 extends WebServer
|
||||
class Apache2 extends Webserver
|
||||
{
|
||||
/**
|
||||
* @return array
|
||||
|
|
|
@ -10,7 +10,7 @@ use Icinga\Exception\ProgrammingError;
|
|||
/**
|
||||
* Generate webserver configuration
|
||||
*/
|
||||
abstract class WebServer
|
||||
abstract class Webserver
|
||||
{
|
||||
/**
|
||||
* Web path
|
||||
|
|
Loading…
Reference in New Issue