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

@@ -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);