Follow-up r87637: the terrors of copy-and-paste.
authorHappy-melon <happy-melon@users.mediawiki.org>
Sat, 7 May 2011 15:37:23 +0000 (15:37 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Sat, 7 May 2011 15:37:23 +0000 (15:37 +0000)
maintenance/Maintenance.php
maintenance/install.php
maintenance/update.php

index 3e3def8..db32201 100644 (file)
@@ -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' );
index 6f279f0..a1ac9f0 100644 (file)
@@ -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 " .
index ab695c1..9f7b93c 100644 (file)
@@ -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 " .