add credits to bluehairedlawyer for thead/tbody
[lhc/web/wiklou.git] / profileinfo.php
index ecf69e5..3117db3 100644 (file)
 ini_set( 'zlib.output_compression', 'off' );
 
 $wgEnableProfileInfo = $wgProfileToDatabase = false;
+if ( isset( $_SERVER['MW_COMPILED'] ) ) {
+       require ( 'phase3/includes/WebStart.php' );
+} else {
+       require ( dirname( __FILE__ ) . '/includes/WebStart.php' );
+}
 
-require_once( './includes/WebStart.php' );
 
 header( 'Content-Type: text/html; charset=utf-8' );