Added vendor to ignores

This commit is contained in:
Andy Miller
2017-04-24 18:03:40 -06:00
parent 8d7083dc5c
commit eede9af03c
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
# v1.4.3
## 04/xx/2017
1. [](#bugfix)
* Added `vendor` to ignores for direct install of Grav
# v1.4.2
## 04/24/2017

View File

@@ -241,7 +241,7 @@ class Gpm
return Admin::translate('PLUGIN_ADMIN.CANNOT_OVERWRITE_SYMLINKS');
}
Installer::install($zip, GRAV_ROOT,
['sophisticated' => true, 'overwrite' => true, 'ignore_symlinks' => true, 'ignores' => ['tmp','user']], $extracted);
['sophisticated' => true, 'overwrite' => true, 'ignore_symlinks' => true, 'ignores' => ['tmp','user','vendor']], $extracted);
} else {
$name = GravGPM::getPackageName($extracted);