From 8a12ca3f2b497c9c462f18cae0c514ca045cf76e Mon Sep 17 00:00:00 2001 From: Jay Trees Date: Fri, 21 Jan 2022 15:26:00 +0100 Subject: [PATCH] Skip config directory during update --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index bf0c4191..9da50020 100644 --- a/index.php +++ b/index.php @@ -102,7 +102,7 @@ if ($zip->open($zip_filename)) { $directory_wishthis_github = __DIR__ . '/wishthis-' . $version; foreach (scandir($directory_wishthis_github) as $filename) { - if (in_array($filename, array('.', '..'))) { + if (in_array($filename, array('.', '..', 'config'))) { continue; }