r41199 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41198‎ | r41199 | r41200 >
Date:18:23, 23 September 2008
Author:ialex
Status:old
Tags:
Comment:
Warning: ini_set() [ref.outcontrol]: Cannot change zlib.output_compression - headers already sent in profileinfo.php on line 58
Modified paths:
  • /trunk/phase3/profileinfo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/profileinfo.php
@@ -1,3 +1,14 @@
 2+<?php
 3+ini_set( 'zlib.output_compression', 'off' );
 4+
 5+$wgDBadminuser = $wgDBadminpassword = $wgDBserver = $wgDBname = $wgEnableProfileInfo = $wgDBprefix = false;
 6+
 7+define( 'MW_NO_SETUP', 1 );
 8+require_once( './includes/WebStart.php' );
 9+require_once( './AdminSettings.php' );
 10+require_once( './includes/GlobalFunctions.php' );
 11+
 12+?>
213 <!--
314 Show profiling data.
415
@@ -55,15 +66,7 @@
5667 </head>
5768 <body>
5869 <?php
59 -ini_set( 'zlib.output_compression', 'off' );
6070
61 -$wgDBadminuser = $wgDBadminpassword = $wgDBserver = $wgDBname = $wgEnableProfileInfo = $wgDBprefix = false;
62 -
63 -define( 'MW_NO_SETUP', 1 );
64 -require_once( './includes/WebStart.php' );
65 -require_once("./AdminSettings.php");
66 -require_once( './includes/GlobalFunctions.php' );
67 -
6871 if (!$wgEnableProfileInfo) {
6972 echo "disabled\n";
7073 exit( 1 );