X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=profileinfo.php;h=3117db31fd2d20a3770ec71a76f6bd340ea0d6f6;hb=bd85d4fb9fb78f83243d3291b266c827282d7aff;hp=ecf69e50e1693f13ade7340182ea5732e4d1d10f;hpb=0b53892e7240615c97911774d4938c8a394bbfc0;p=lhc%2Fweb%2Fwiklou.git diff --git a/profileinfo.php b/profileinfo.php index ecf69e50e1..3117db31fd 100644 --- a/profileinfo.php +++ b/profileinfo.php @@ -28,8 +28,12 @@ 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' );