From 86ba42a00e382b9fde8cd19ad223f4f989728579 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 11 Jan 2017 12:32:41 +0100 Subject: [PATCH] Even more work-arounds --- .../update_com.woltlab.wcf_3.0_appConfig.php | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/acp/update_com.woltlab.wcf_3.0_appConfig.php b/wcfsetup/install/files/acp/update_com.woltlab.wcf_3.0_appConfig.php index ad3055d9cf..96d0b3da48 100644 --- a/wcfsetup/install/files/acp/update_com.woltlab.wcf_3.0_appConfig.php +++ b/wcfsetup/install/files/acp/update_com.woltlab.wcf_3.0_appConfig.php @@ -1,10 +1,23 @@ * @package WoltLabSuite\Core */ -Package::writeConfigFile(1); + +// the content below is the effective result of `wcf\data\package\Package::writeConfigFile()` +// but the class is already in memory during the upgrade, causing the old version of this +// method to be used, which is not aware of `app.config.inc.php` + +$content = <<