From 34b02a651dcb92b225a5567f64fc6e4afa69c87b Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 16 Nov 2016 10:32:31 +0100 Subject: [PATCH] Added app.config.inc.php to installation file log --- .../package/plugin/FilePackageInstallationPlugin.class.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/package/plugin/FilePackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/FilePackageInstallationPlugin.class.php index dd19251576..26e288e59e 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/FilePackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/FilePackageInstallationPlugin.class.php @@ -58,7 +58,7 @@ class FilePackageInstallationPlugin extends AbstractPackageInstallationPlugin { // create file Package::writeConfigFile($this->installation->getPackageID()); - // log file + // log files $sql = "INSERT INTO wcf".WCF_N."_package_installation_file_log (packageID, filename, application) VALUES (?, ?, ?)"; @@ -68,6 +68,11 @@ class FilePackageInstallationPlugin extends AbstractPackageInstallationPlugin { 'config.inc.php', Package::getAbbreviation($this->installation->getPackage()->package) ]); + $statement->execute([ + $this->installation->getPackageID(), + PackageInstallationDispatcher::CONFIG_FILE, + Package::getAbbreviation($this->installation->getPackage()->package) + ]); // load application WCF::loadRuntimeApplication($this->installation->getPackageID()); -- 2.20.1