Set default config dir to '/etc/icingaweb2'

This commit is contained in:
Eric Lippmann 2014-12-10 09:30:12 +01:00
parent ef00765ff0
commit 2b5fe7baf4
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ abstract class ApplicationBootstrap
if (array_key_exists('ICINGAWEB_CONFIGDIR', $_SERVER)) { if (array_key_exists('ICINGAWEB_CONFIGDIR', $_SERVER)) {
$configDir = $_SERVER['ICINGAWEB_CONFIGDIR']; $configDir = $_SERVER['ICINGAWEB_CONFIGDIR'];
} else { } else {
$configDir = '/etc/icingaweb'; $configDir = '/etc/icingaweb2';
} }
} }
$canonical = realpath($configDir); $canonical = realpath($configDir);