r43427 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43426‎ | r43427 | r43428 >
Date:23:54, 12 November 2008
Author:werdna
Status:old
Tags:
Comment:
Use MW_INSTALL_PATH for AntiSpoof
Modified paths:
  • /trunk/extensions/AntiSpoof/generateEquivset.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AntiSpoof/generateEquivset.php
@@ -1,9 +1,11 @@
22 <?php
33
 4+require_once ( getenv('MW_INSTALL_PATH') !== false
 5+ ? getenv('MW_INSTALL_PATH')."/maintenance/commandLine.inc"
 6+ : dirname( __FILE__ ) . '/../../maintenance/commandLine.inc' );
 7+
48 $dir = dirname( __FILE__ );
5 -require( "$dir/../../maintenance/commandLine.inc" );
69
7 -$dir = dirname( __FILE__ );
810 $endl = '
911 ';
1012

Status & tagging log