From c84602c122744c267e968abc4db28c2ee0c30c6f Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 28 May 2013 20:29:14 +0200 Subject: [PATCH] Logging of SQL update query --- .../package/plugin/PageMenuPackageInstallationPlugin.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/lib/system/package/plugin/PageMenuPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/PageMenuPackageInstallationPlugin.class.php index ac96558915..f523c047e8 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/PageMenuPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/PageMenuPackageInstallationPlugin.class.php @@ -121,6 +121,8 @@ class PageMenuPackageInstallationPlugin extends AbstractMenuPackageInstallationP $statement->execute($parameters); + file_put_contents(WCF_DIR.'__pageMenu.log', "\n\nSQL\n\n{$sql}\n\nPARAMETERS\n\n".print_r($parameters, true)."\n\n", FILE_APPEND); + // return the wanted showOrder level //return $data['showOrder']; $showOrder = $data['showOrder']; -- 2.20.1