From: Matthias Schmidt Date: Thu, 13 Jul 2017 17:46:54 +0000 (+0200) Subject: Ignore `app.config.inc.php` during WSC file sync X-Git-Tag: 3.1.0_Alpha_1~273 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0a936ecd2b032273c5b8a7e9ad7470bfa8876357;p=GitHub%2FWoltLab%2FWCF.git Ignore `app.config.inc.php` during WSC file sync See #2331 --- 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;