mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-02-16 03:28:09 +01:00
Added vendor to ignores
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user