Skip to content

Commit

Permalink
instead of overriding the include path, prepend it with the system in…
Browse files Browse the repository at this point in the history
…clude directory
  • Loading branch information
Paul M. Jones committed Jan 29, 2013
1 parent ab17ce0 commit 509d956
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Aura/Framework/Bootstrap/Factory.php
Expand Up @@ -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');
Expand Down

0 comments on commit 509d956

Please sign in to comment.