dont override paths if they are already set in bootstrap.

This commit is contained in:
Taylor Otwell 2012-02-25 14:54:34 -06:00
parent a289b287e8
commit 711d60a506
1 changed files with 4 additions and 1 deletions

View File

@ -65,7 +65,10 @@
{
if ($web) $path = "../{$path}";
$GLOBALS['laravel_paths'][$name] = realpath($path).DS;
if ( ! isset($GLOBALS['laravel_paths'][$name]))
{
$GLOBALS['laravel_paths'][$name] = realpath($path).DS;
}
}
/**