X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fdb%2FMWLBFactory.php;h=5b629844b4c6f66fa7b88b39a202946dc5e7910c;hp=be4f6ba57c31aa3f82410cf8899be084938fd308;hb=e0cc49ce3971e19;hpb=25ee9366b06a44087e8f0cba1f2b27324259ef52 diff --git a/includes/db/MWLBFactory.php b/includes/db/MWLBFactory.php index be4f6ba57c..5b629844b4 100644 --- a/includes/db/MWLBFactory.php +++ b/includes/db/MWLBFactory.php @@ -56,6 +56,7 @@ abstract class MWLBFactory { 'DBuser', 'DBWindowsAuthentication', 'DebugDumpSql', + 'DebugLogFile', 'ExternalServers', 'SQLiteDataDir', 'SQLMode', @@ -206,6 +207,7 @@ abstract class MWLBFactory { $flags = DBO_DEFAULT; $flags |= $options->get( 'DebugDumpSql' ) ? DBO_DEBUG : 0; + $flags |= $options->get( 'DebugLogFile' ) ? DBO_DEBUG : 0; if ( $server['type'] === 'oracle' ) { $flags |= $options->get( 'DBOracleDRCP' ) ? DBO_PERSISTENT : 0; }