r74575 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74574‎ | r74575 | r74576 >
Date:08:35, 10 October 2010
Author:ialex
Status:ok
Tags:
Comment:
Use full path to Maintenance.php
Modified paths:
  • /trunk/phase3/maintenance/deleteSelfExternals.php (modified) (history)
  • /trunk/phase3/maintenance/update.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/update.php
@@ -10,7 +10,7 @@
1111 */
1212
1313 $wgUseMasterForMaintenance = true;
14 -require_once( 'Maintenance.php' );
 14+require_once( dirname( __FILE__ ) . '/Maintenance.php' );
1515
1616 class UpdateMediaWiki extends Maintenance {
1717
Index: trunk/phase3/maintenance/deleteSelfExternals.php
@@ -24,7 +24,7 @@
2525 * @ingroup Maintenance
2626 */
2727
28 -require_once( "Maintenance.php" );
 28+require_once( dirname( __FILE__ ) . '/Maintenance.php' );
2929
3030
3131 class DeleteSelfExternals extends Maintenance {

Status & tagging log