Skip config directory during update
This commit is contained in:
parent
47bf088b76
commit
8a12ca3f2b
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ if ($zip->open($zip_filename)) {
|
||||||
$directory_wishthis_github = __DIR__ . '/wishthis-' . $version;
|
$directory_wishthis_github = __DIR__ . '/wishthis-' . $version;
|
||||||
|
|
||||||
foreach (scandir($directory_wishthis_github) as $filename) {
|
foreach (scandir($directory_wishthis_github) as $filename) {
|
||||||
if (in_array($filename, array('.', '..'))) {
|
if (in_array($filename, array('.', '..', 'config'))) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue