From: Aaron Schulz Date: Mon, 19 Jan 2009 23:43:54 +0000 (+0000) Subject: Follow up to r45915: disable profiler.php (not the udp versions and such) for mainten... X-Git-Tag: 1.31.0-rc.0~43345 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=b355f9a5605a8f73e801e8e4c07884960456eb45;p=lhc%2Fweb%2Fwiklou.git Follow up to r45915: disable profiler.php (not the udp versions and such) for maintenance scripts --- diff --git a/maintenance/commandLine.inc b/maintenance/commandLine.inc index a23bb6eb50..6b1f913b4c 100644 --- a/maintenance/commandLine.inc +++ b/maintenance/commandLine.inc @@ -264,3 +264,5 @@ require_once( "$IP/includes/Setup.php" ); require_once( "$IP/install-utils.inc" ); $wgTitle = null; # Much much faster startup than creating a title object @set_time_limit(0); + +$wgProfiling = false; // only for Profiler.php mode; avoids OOM errors