X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=profileinfo.php;h=f172cfb6f20918117ca4235033b43ecdd1f951d4;hb=9c67015bd8dde985f85bd59a2b12f47b0c6821d5;hp=4117d975ddf642ad3662504d9d5dd5ee734c5247;hpb=1bcb2c06e6ee20bd099110ba395e45c953462039;p=lhc%2Fweb%2Fwiklou.git diff --git a/profileinfo.php b/profileinfo.php index 4117d975dd..f172cfb6f2 100644 --- a/profileinfo.php +++ b/profileinfo.php @@ -27,12 +27,8 @@ ini_set( 'zlib.output_compression', 'off' ); -$wgEnableProfileInfo = $wgProfileToDatabase = false; -if ( isset( $_SERVER['MW_COMPILED'] ) ) { - require ( 'core/includes/WebStart.php' ); -} else { - require ( __DIR__ . '/includes/WebStart.php' ); -} +$wgEnableProfileInfo = false; +require __DIR__ . '/includes/WebStart.php'; header( 'Content-Type: text/html; charset=utf-8' ); @@ -40,7 +36,7 @@ header( 'Content-Type: text/html; charset=utf-8' ); - + Profiling data