Fix include path to the Cli in icingacli

This commit is contained in:
Eric Lippmann 2014-11-12 13:48:26 +01:00
parent 277765ac72
commit 826cfbeceb
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ define('ICINGAWEB_BASEDIR', dirname(__DIR__));
// ICINGAWEB_BASEDIR is the parent folder for at least application, bin, modules, library/vendor and public
if (! @include_once ICINGAWEB_BASEDIR . 'Icinga/Application/Cli.php') {
if (! @include_once ICINGAWEB_BASEDIR . '/library/Icinga/Application/Cli.php') {
// If the Icinga library wasn't found under ICINGAWEB_BASEDIR, require that the Icinga library is found in PHP's
// include path which is the case if Icinga Web 2 is installed via packages
require_once 'Icinga/Application/Cli.php';