diff --git a/src/Aura/Framework/Bootstrap/Factory.php b/src/Aura/Framework/Bootstrap/Factory.php index a0acd43..ed8d9b0 100644 --- a/src/Aura/Framework/Bootstrap/Factory.php +++ b/src/Aura/Framework/Bootstrap/Factory.php @@ -106,8 +106,8 @@ public function prep($mode) require_once dirname(__DIR__) . '/System.php'; $system = new System($this->root); - // set the include path - set_include_path($system->getIncludePath()); + // prepend to the include path + set_include_path($system->getIncludePath() . PATH_SEPARATOR . get_include_path()); // requires require_once $system->getPackagePath('Aura.Autoload/src.php');