http://www.mediawiki.org/wiki/Special:Code/MediaWiki/87643

Revision: 87643
Author:   happy-melon
Date:     2011-05-07 15:37:23 +0000 (Sat, 07 May 2011)
Log Message:
-----------
Follow-up r87637: the terrors of copy-and-paste.

Modified Paths:
--------------
    trunk/phase3/maintenance/Maintenance.php
    trunk/phase3/maintenance/install.php
    trunk/phase3/maintenance/update.php

Modified: trunk/phase3/maintenance/Maintenance.php
===================================================================
--- trunk/phase3/maintenance/Maintenance.php    2011-05-07 15:30:46 UTC (rev 
87642)
+++ trunk/phase3/maintenance/Maintenance.php    2011-05-07 15:37:23 UTC (rev 
87643)
@@ -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' 
);

Modified: trunk/phase3/maintenance/install.php
===================================================================
--- trunk/phase3/maintenance/install.php        2011-05-07 15:30:46 UTC (rev 
87642)
+++ trunk/phase3/maintenance/install.php        2011-05-07 15:37:23 UTC (rev 
87643)
@@ -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 " .

Modified: trunk/phase3/maintenance/update.php
===================================================================
--- trunk/phase3/maintenance/update.php 2011-05-07 15:30:46 UTC (rev 87642)
+++ trunk/phase3/maintenance/update.php 2011-05-07 15:37:23 UTC (rev 87643)
@@ -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 " .


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to