X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=profileinfo.php;h=4e3fb5ad28ca2f1640af72d44db90b6538424a09;hb=b65aea33c9ed5e731c8f4064db0f958cb9914058;hp=b930f42fcf5f914814963c9308da43a55978b637;hpb=0b8f48c5353bb12faef3546c80a76aea6d3956ea;p=lhc%2Fweb%2Fwiklou.git diff --git a/profileinfo.php b/profileinfo.php index b930f42fcf..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.' . ''; exit( 1 );