Skip to content

Commit

Permalink
Fix include path to the Cli in icingacli
Browse files Browse the repository at this point in the history
  • Loading branch information
lippserd committed Nov 12, 2014
1 parent 277765a commit 826cfbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/icingacli
Expand Up @@ -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';
Expand Down

0 comments on commit 826cfbe

Please sign in to comment.