X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=profileinfo.php;h=4e3fb5ad28ca2f1640af72d44db90b6538424a09;hb=b65aea33c9ed5e731c8f4064db0f958cb9914058;hp=8120599e02f0a879a25df08b980dfa910f30eec9;hpb=f10c9815e69b59844c178d218640bd1ac0435896;p=lhc%2Fweb%2Fwiklou.git diff --git a/profileinfo.php b/profileinfo.php index 8120599e02..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.'
. '