Do not define the constant ICINGAWEB_LIBDIR
This constant should not be needed anywhere.
This commit is contained in:
parent
f0ca81d7af
commit
877e9101f3
library/Icinga/Application
|
@ -102,10 +102,6 @@ abstract class ApplicationBootstrap
|
||||||
{
|
{
|
||||||
$this->libDir = realpath(__DIR__ . '/../..');
|
$this->libDir = realpath(__DIR__ . '/../..');
|
||||||
|
|
||||||
if (!defined('ICINGA_LIBDIR')) {
|
|
||||||
define('ICINGA_LIBDIR', $this->libDir);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (defined('ICINGAWEB_APPDIR')) {
|
if (defined('ICINGAWEB_APPDIR')) {
|
||||||
$this->appDir = ICINGAWEB_APPDIR;
|
$this->appDir = ICINGAWEB_APPDIR;
|
||||||
} elseif (array_key_exists('ICINGAWEB_APPDIR', $_SERVER)) {
|
} elseif (array_key_exists('ICINGAWEB_APPDIR', $_SERVER)) {
|
||||||
|
|
Loading…
Reference in New Issue