setup: Look for the authentication.ini instead of the config.ini

The config.ini does not include any settings mandatory to operate
Icinga Web 2, but the authentication.ini does.

refs #8134
This commit is contained in:
Johannes Meyer 2015-01-27 13:34:59 +01:00
parent 6c292f7e56
commit 47b27fcfe4
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ abstract class ApplicationBootstrap
*/ */
protected function loadSetupModuleIfNecessary() protected function loadSetupModuleIfNecessary()
{ {
if (! @file_exists($this->config->resolvePath('config.ini'))) { if (! @file_exists($this->config->resolvePath('authentication.ini'))) {
$this->requiresSetup = true; $this->requiresSetup = true;
$this->moduleManager->loadModule('setup'); $this->moduleManager->loadModule('setup');
} elseif ($this->setupTokenExists()) { } elseif ($this->setupTokenExists()) {