moved directory function into github provider since it doesnt belong in base provider.
This commit is contained in:
@@ -50,25 +50,6 @@ abstract class Provider {
|
||||
@unlink($target);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create the path to the bundle's dirname.
|
||||
*
|
||||
* @param array $bundle
|
||||
* @return void
|
||||
*/
|
||||
protected function directory($bundle)
|
||||
{
|
||||
// If the installation target directory doesn't exist, we will create
|
||||
// it recursively so that we can properly install the bundle to the
|
||||
// correct path in the application.
|
||||
$target = dirname(path('bundle').$this->path($bundle));
|
||||
|
||||
if ( ! is_dir($target))
|
||||
{
|
||||
mkdir($target, 0777, true);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the path for a given bundle.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user