diff options
Diffstat (limited to 'profileinfo.php')
-rw-r--r-- | profileinfo.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/profileinfo.php b/profileinfo.php index b8dc15b8..3117db31 100644 --- a/profileinfo.php +++ b/profileinfo.php @@ -28,8 +28,14 @@ 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' ); ?> <html> |