converted path constants to $GLOBALS.

This commit is contained in:
Taylor Otwell
2012-01-27 16:17:43 -06:00
parent 09d4b74cf1
commit f44c565ee4
28 changed files with 80 additions and 83 deletions

View File

@@ -17,7 +17,7 @@ class Github implements Provider {
// a location outside of the Git repository, so we don't need
// the full bundle path. We'll just take the basename in case
// the bundle directory has been renamed.
$path = basename(BUNDLE_PATH).'/';
$path = basename($GLOBALS['BUNDLE_PATH']).'/';
passthru('git submodule add '.$repository.' '.$path.$bundle['name']);