Index: trunk/phase3/maintenance/update.php |
— | — | @@ -26,7 +26,7 @@ |
27 | 27 | */ |
28 | 28 | |
29 | 29 | // Include global constants, including MW_VERSION and MW_MIN_PHP_VERSION |
30 | | -require_once( dirname( __FILE__ ) . '/includes/Defines.php' ); |
| 30 | +require_once( dirname( dirname( __FILE__ ) ) . '/includes/Defines.php' ); |
31 | 31 | |
32 | 32 | if ( !function_exists( 'version_compare' ) || ( version_compare( phpversion(), MW_MIN_PHP_VERSION ) < 0 ) ) { |
33 | 33 | echo "You are using PHP version " . phpversion() . " but MediaWiki needs PHP " . |
Index: trunk/phase3/maintenance/install.php |
— | — | @@ -21,7 +21,7 @@ |
22 | 22 | */ |
23 | 23 | |
24 | 24 | // Include global constants, including MW_VERSION and MW_MIN_PHP_VERSION |
25 | | -require_once( dirname( __FILE__ ) . '/includes/Defines.php' ); |
| 25 | +require_once( dirname( dirname( __FILE__ ) ) . '/includes/Defines.php' ); |
26 | 26 | |
27 | 27 | if ( !function_exists( 'version_compare' ) || ( version_compare( phpversion(), MW_MIN_PHP_VERSION ) < 0 ) ) { |
28 | 28 | echo "You are using PHP version " . phpversion() . " but MediaWiki needs PHP " . |
Index: trunk/phase3/maintenance/Maintenance.php |
— | — | @@ -21,7 +21,7 @@ |
22 | 22 | */ |
23 | 23 | |
24 | 24 | // Include global constants, including MW_VERSION and MW_MIN_PHP_VERSION |
25 | | -require_once( dirname( __FILE__ ) . '/includes/Defines.php' ); |
| 25 | +require_once( dirname( dirname( __FILE__ ) ) . '/includes/Defines.php' ); |
26 | 26 | |
27 | 27 | // Define this so scripts can easily find doMaintenance.php |
28 | 28 | define( 'RUN_MAINTENANCE_IF_MAIN', dirname( __FILE__ ) . '/doMaintenance.php' ); |