Index: trunk/phase3/index.php |
— | — | @@ -36,17 +36,18 @@ |
37 | 37 | * @file |
38 | 38 | */ |
39 | 39 | |
40 | | -// Bail on old versions of PHP. Pretty much every other file in the codebase |
41 | | -// has structures (try/catch, foo()->bar(), etc etc) which throw parse errors in PHP 4. |
42 | | -// Setup.php and ObjectCache.php have structures invalid in PHP 5.0 and 5.1, respectively. |
| 40 | +# Bail on old versions of PHP. Pretty much every other file in the codebase |
| 41 | +# has structures (try/catch, foo()->bar(), etc etc) which throw parse errors in |
| 42 | +# PHP 4. Setup.php and ObjectCache.php have structures invalid in PHP 5.0 and |
| 43 | +# 5.1, respectively. |
43 | 44 | if ( !function_exists( 'version_compare' ) || version_compare( phpversion(), '5.2.3' ) < 0 ) { |
44 | 45 | require( dirname( __FILE__ ) . '/includes/PHPVersionError.php' ); |
45 | 46 | wfPHPVersionError( 'index.php' ); |
46 | 47 | } |
47 | 48 | |
48 | | -# Initialise common code. This gives us access to GlobalFunctions, the AutoLoader, and |
49 | | -# the globals $wgRequest, $wgOut, $wgUser, $wgLang and $wgContLang, amongst others; it |
50 | | -# does *not* load $wgTitle |
| 49 | +# Initialise common code. This gives us access to GlobalFunctions, the |
| 50 | +# AutoLoader, and the globals $wgRequest, $wgOut, $wgUser, $wgLang and |
| 51 | +# $wgContLang, amongst others; it does *not* load $wgTitle |
51 | 52 | if ( isset( $_SERVER['MW_COMPILED'] ) ) { |
52 | 53 | require ( 'phase3/includes/WebStart.php' ); |
53 | 54 | } else { |