From c9ed79b2275ce0da1d9a7b27ba1a77aa23509f0c Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Mon, 7 Nov 2022 18:54:58 +0800 Subject: [PATCH] update exclude public/pic/category/chd/* --- nexus/Install/Update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nexus/Install/Update.php b/nexus/Install/Update.php index 5840cac6..eba60407 100644 --- a/nexus/Install/Update.php +++ b/nexus/Install/Update.php @@ -407,7 +407,7 @@ class Update extends Install foreach (glob("$extractDir/*") as $path) { if (is_dir($path)) { - $excludes = array_merge(ToolRepository::BACKUP_EXCLUDES, ['public/favicon.ico', '.env', 'public/pic/category/chd']); + $excludes = array_merge(ToolRepository::BACKUP_EXCLUDES, ['public/favicon.ico', '.env', 'public/pic/category/chd/*']); if (!in_array('composer', $includes)) { $excludes[] = 'composer.lock'; $excludes[] = 'composer.json';