Add our vendor path to the include path

This commit is contained in:
Eric Lippmann 2014-11-13 19:52:28 +01:00
parent 8bdde5adc5
commit 48a468b888
1 changed files with 7 additions and 0 deletions

View File

@ -141,6 +141,13 @@ abstract class ApplicationBootstrap
$this->setupAutoloader();
$this->setupZendAutoloader();
set_include_path(
implode(
PATH_SEPARATOR,
array($this->vendorDir, get_include_path())
)
);
Benchmark::measure('Bootstrap, autoloader registered');
Icinga::setApp($this);