From: Alexandre Emsenhuber Date: Sun, 10 Oct 2010 08:35:07 +0000 (+0000) Subject: Use full path to Maintenance.php X-Git-Tag: 1.31.0-rc.0~34558 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=66234904b8b564df9a89ceb73e94f032ab33bf13;p=lhc%2Fweb%2Fwiklou.git Use full path to Maintenance.php --- diff --git a/maintenance/deleteSelfExternals.php b/maintenance/deleteSelfExternals.php index f63a9bff07..7f631b34b5 100644 --- a/maintenance/deleteSelfExternals.php +++ b/maintenance/deleteSelfExternals.php @@ -24,7 +24,7 @@ * @ingroup Maintenance */ -require_once( "Maintenance.php" ); +require_once( dirname( __FILE__ ) . '/Maintenance.php' ); class DeleteSelfExternals extends Maintenance { diff --git a/maintenance/update.php b/maintenance/update.php index 8115e7a6b4..bb3f8d0fe7 100644 --- a/maintenance/update.php +++ b/maintenance/update.php @@ -10,7 +10,7 @@ */ $wgUseMasterForMaintenance = true; -require_once( 'Maintenance.php' ); +require_once( dirname( __FILE__ ) . '/Maintenance.php' ); class UpdateMediaWiki extends Maintenance {