From 0a936ecd2b032273c5b8a7e9ad7470bfa8876357 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 13 Jul 2017 19:46:54 +0200 Subject: [PATCH] Ignore `app.config.inc.php` during WSC file sync See #2331 --- .../files/lib/system/devtools/pip/DevtoolsPip.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wcfsetup/install/files/lib/system/devtools/pip/DevtoolsPip.class.php b/wcfsetup/install/files/lib/system/devtools/pip/DevtoolsPip.class.php index 4b8e936dd6..d7215d444c 100644 --- a/wcfsetup/install/files/lib/system/devtools/pip/DevtoolsPip.class.php +++ b/wcfsetup/install/files/lib/system/devtools/pip/DevtoolsPip.class.php @@ -212,6 +212,11 @@ class DevtoolsPip extends DatabaseObjectDecorator { // ignores `options.inc.php` file which is only valid for installation return false; } + else if ($filename === 'app.config.inc.php') { + // ignores `app.config.inc.php` file which has a dummy contents for installation + // and cannot be restored by WSC itself + return false; + } else if ($filename === 'templates') { // ignores both `templates` and `acp/templates` return false; -- 2.20.1