X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=profileinfo.php;h=4e3fb5ad28ca2f1640af72d44db90b6538424a09;hb=e2a257ac7fee1582fe1233c0c64a779f9bb43b9a;hp=762af69ccb42bf171df2d69802017e296ca623cf;hpb=a877f3d4114dc9570d03177930ddbfd1332f909a;p=lhc%2Fweb%2Fwiklou.git diff --git a/profileinfo.php b/profileinfo.php index 762af69ccb..4e3fb5ad28 100644 --- a/profileinfo.php +++ b/profileinfo.php @@ -27,7 +27,7 @@ ini_set( 'zlib.output_compression', 'off' ); -$wgEnableProfileInfo = $wgProfileToDatabase = false; +$wgEnableProfileInfo = false; require __DIR__ . '/includes/WebStart.php'; header( 'Content-Type: text/html; charset=utf-8' ); @@ -149,8 +149,8 @@ $dbr = wfGetDB( DB_SLAVE ); if ( !$dbr->tableExists( 'profiling' ) ) { echo '
No profiling
table exists, so we can\'t show you anything.
If you want to log profiling data, enable $wgProfileToDatabase
'
- . ' in your LocalSettings.php and run maintenance/update.php
to'
+ . '
If you want to log profiling data, enable $wgProfiler[\'output\'] = \'db\'
'
+ . ' in your StartProfiler.php and run maintenance/update.php
to'
. ' create the profiling table.'
. '