r14638 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14637‎ | r14638 | r14639 >
Date:12:58, 7 June 2006
Author:magnusmanske
Status:old
Tags:
Comment:
Moving time limit before local.php inclusion
Modified paths:
  • /trunk/wiki2xml/php/w2x.php (modified) (history)

Diff [purge]

Index: trunk/wiki2xml/php/w2x.php
@@ -2,15 +2,15 @@
33 # Copyright by Magnus Manske (2005 - 2006)
44 # Released under GPL
55
 6+@set_time_limit ( 0 ) ; # No time limit
 7+ini_set('user_agent','MSIE 4\.0b2;'); # Fake user agent
 8+
69 if( !defined( 'MEDIAWIKI' ) ) { # Stand-alone
710 include_once ( "default.php" ) ; # Which will include local.php, if available
811 }
912
1013 require_once ( "mediawiki_converter.php" ) ;
1114
12 -@set_time_limit ( 0 ) ; # No time limit
13 -ini_set('user_agent','MSIE 4\.0b2;'); # Fake user agent
14 -
1515 ## TIMER FUNCTION
1616
1717 function microtime_float()

Status & tagging log