Use full path to Maintenance.php
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 10 Oct 2010 08:35:07 +0000 (08:35 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 10 Oct 2010 08:35:07 +0000 (08:35 +0000)
maintenance/deleteSelfExternals.php
maintenance/update.php

index f63a9bf..7f631b3 100644 (file)
@@ -24,7 +24,7 @@
  * @ingroup Maintenance
  */
 
-require_once( "Maintenance.php" );
+require_once( dirname( __FILE__ ) . '/Maintenance.php' );
 
 
 class DeleteSelfExternals extends Maintenance {
index 8115e7a..bb3f8d0 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 $wgUseMasterForMaintenance = true;
-require_once( 'Maintenance.php' );
+require_once( dirname( __FILE__ ) . '/Maintenance.php' );
 
 class UpdateMediaWiki extends Maintenance {