From: Brion Vibber Date: Tue, 4 Apr 2006 08:41:22 +0000 (+0000) Subject: Set $wgRequestTime so db errors end cleanly; mark Oracle support as experimental. X-Git-Tag: 1.6.0~34 X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=32a8f9c71169ffe15994e1235b1de2442d62c0f2 Set $wgRequestTime so db errors end cleanly; mark Oracle support as experimental. --- diff --git a/config/index.php b/config/index.php index b01c1daa37..7051b01ece 100644 --- a/config/index.php +++ b/config/index.php @@ -23,6 +23,9 @@ error_reporting( E_ALL ); header( "Content-type: text/html; charset=utf-8" ); @ini_set( "display_errors", true ); +# In case of errors, let output be clean. +$wgRequestTime = microtime(); + # Attempt to set up the include path, to fix problems with relative includes $IP = dirname( dirname( __FILE__ ) ); define( 'MW_INSTALL_PATH', $IP ); @@ -956,7 +959,7 @@ if( count( $errs ) ) {