From 509d9563a9193d4169ebb1ca9ee2695e2d05c4f8 Mon Sep 17 00:00:00 2001 From: "Paul M. Jones" Date: Tue, 29 Jan 2013 09:50:51 -0600 Subject: [PATCH] instead of overriding the include path, prepend it with the system include directory --- src/Aura/Framework/Bootstrap/Factory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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');