Skip config directory during update

This commit is contained in:
Jay Trees 2022-01-21 15:26:00 +01:00
parent 47bf088b76
commit 8a12ca3f2b

View file

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