r71647 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71646‎ | r71647 | r71648 >
Date:19:04, 25 August 2010
Author:awjrichards
Status:reverted (Comments)
Tags:
Comment:
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/stompPFPPendingProcessor.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/stompPFPPendingProcessor.php
@@ -43,7 +43,7 @@
4444 // add optional Maintenance.php argument for cli (useful for systems < 1.16)
4545 $opts = getopt( "m:" );
4646 // if the path is not specified from CLI, default Maintenance.php path
47 -$maint = ( $opts['m'] ) ? $opts['m'] : dirname(__FILE__) . "/../.././maintenance/Maintenance.php";
 47+$maint = ( $opts['m'] ) ? $opts['m'] : MW_INSTALL_PATH . "/maintenance/Maintenance.php";
4848 require_once( $maint );
4949
5050 // load necessary stomp files from DonationInterface/active_mq

Comments

#Comment by 😂 (talk | contribs)   19:40, 23 October 2010

Should've sanity checked that MW_INSTALL_PATH is defined, but this was removed entirely in r71653.

Status & tagging log