From 711d60a50618e285aee1f56da21b1d7ab97af0d4 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sat, 25 Feb 2012 14:54:34 -0600 Subject: [PATCH] dont override paths if they are already set in bootstrap. --- paths.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/paths.php b/paths.php index ed4f4bdd..e6754dd1 100644 --- a/paths.php +++ b/paths.php @@ -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; + } } /**