From cd128f44961506c00469292a9477e6925736b532 Mon Sep 17 00:00:00 2001 From: Happy-melon Date: Sat, 7 May 2011 15:37:23 +0000 Subject: [PATCH] Follow-up r87637: the terrors of copy-and-paste. --- maintenance/Maintenance.php | 2 +- maintenance/install.php | 2 +- maintenance/update.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/maintenance/Maintenance.php b/maintenance/Maintenance.php index 3e3def8f29..db32201199 100644 --- a/maintenance/Maintenance.php +++ b/maintenance/Maintenance.php @@ -21,7 +21,7 @@ */ // Include global constants, including MW_VERSION and MW_MIN_PHP_VERSION -require_once( dirname( __FILE__ ) . '/includes/Defines.php' ); +require_once( dirname( dirname( __FILE__ ) ) . '/includes/Defines.php' ); // Define this so scripts can easily find doMaintenance.php define( 'RUN_MAINTENANCE_IF_MAIN', dirname( __FILE__ ) . '/doMaintenance.php' ); diff --git a/maintenance/install.php b/maintenance/install.php index 6f279f0da3..a1ac9f0c9f 100644 --- a/maintenance/install.php +++ b/maintenance/install.php @@ -21,7 +21,7 @@ */ // Include global constants, including MW_VERSION and MW_MIN_PHP_VERSION -require_once( dirname( __FILE__ ) . '/includes/Defines.php' ); +require_once( dirname( dirname( __FILE__ ) ) . '/includes/Defines.php' ); if ( !function_exists( 'version_compare' ) || ( version_compare( phpversion(), MW_MIN_PHP_VERSION ) < 0 ) ) { echo "You are using PHP version " . phpversion() . " but MediaWiki needs PHP " . diff --git a/maintenance/update.php b/maintenance/update.php index ab695c1849..9f7b93c4ef 100644 --- a/maintenance/update.php +++ b/maintenance/update.php @@ -26,7 +26,7 @@ */ // Include global constants, including MW_VERSION and MW_MIN_PHP_VERSION -require_once( dirname( __FILE__ ) . '/includes/Defines.php' ); +require_once( dirname( dirname( __FILE__ ) ) . '/includes/Defines.php' ); if ( !function_exists( 'version_compare' ) || ( version_compare( phpversion(), MW_MIN_PHP_VERSION ) < 0 ) ) { echo "You are using PHP version " . phpversion() . " but MediaWiki needs PHP " . -- 2.20.1