Add our vendor path to the include path
This commit is contained in:
parent
8bdde5adc5
commit
48a468b888
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue