X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=blobdiff_plain;f=profileinfo.php;h=83ae1935df1719bb862b28a745f9239f45986f41;hb=0f1cc3bb6e7c3be9b86d2c8736f7458cd40588f2;hp=466f26aaec37202905481c630bd7fe117103e0c1;hpb=7d593c2186fc0066c35979788f27e7c4e1be3a2a;p=lhc%2Fweb%2Fwiklou.git diff --git a/profileinfo.php b/profileinfo.php index 466f26aaec..83ae1935df 100644 --- a/profileinfo.php +++ b/profileinfo.php @@ -150,7 +150,7 @@ if ( !$wgEnableProfileInfo ) { exit( 1 ); } -$dbr = wfGetDB( DB_SLAVE ); +$dbr = wfGetDB( DB_REPLICA ); if ( !$dbr->tableExists( 'profiling' ) ) { echo '

No profiling table exists, so we can\'t show you anything.

'