From 32a8f9c71169ffe15994e1235b1de2442d62c0f2 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 4 Apr 2006 08:41:22 +0000 Subject: [PATCH] Set $wgRequestTime so db errors end cleanly; mark Oracle support as experimental. --- config/index.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 ) ) { -- 2.20.1