From: Alexander Ebert Date: Tue, 28 May 2013 18:29:14 +0000 (+0200) Subject: Logging of SQL update query X-Git-Tag: 2.0.0_Beta_1~18 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c84602c122744c267e968abc4db28c2ee0c30c6f;p=GitHub%2FWoltLab%2FWCF.git Logging of SQL update query --- 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'];