[icinga-checkins] icinga.org: icingaweb2/feature/include-zend-7464: Do not define the constant ICINGAWEB_LIBDIR

git at icinga.org git at icinga.org
Tue Nov 11 15:33:59 CET 2014


Module: icingaweb2
Branch: feature/include-zend-7464
Commit: c0b4d71dc3ff13c60cb051c1f0d47a31325d25b3
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=c0b4d71dc3ff13c60cb051c1f0d47a31325d25b3

Author: Eric Lippmann <eric.lippmann at netways.de>
Date:   Tue Nov 11 15:00:59 2014 +0100

Do not define the constant ICINGAWEB_LIBDIR

This constant should not be needed anywhere.

---

 library/Icinga/Application/ApplicationBootstrap.php |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/library/Icinga/Application/ApplicationBootstrap.php b/library/Icinga/Application/ApplicationBootstrap.php
index 368c93a..90eef29 100644
--- a/library/Icinga/Application/ApplicationBootstrap.php
+++ b/library/Icinga/Application/ApplicationBootstrap.php
@@ -103,10 +103,6 @@ abstract class ApplicationBootstrap
     {
         $this->libDir = realpath(__DIR__ . '/../..');
 
-        if (!defined('ICINGA_LIBDIR')) {
-            define('ICINGA_LIBDIR', $this->libDir);
-        }
-
         if (defined('ICINGAWEB_APPDIR')) {
             $this->appDir = ICINGAWEB_APPDIR;
         } elseif (array_key_exists('ICINGAWEB_APPDIR', $_SERVER)) {



More information about the icinga-checkins mailing list