Index: trunk/extensions/AntiSpoof/generateEquivset.php |
— | — | @@ -1,9 +1,11 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +require_once ( getenv('MW_INSTALL_PATH') !== false |
| 5 | + ? getenv('MW_INSTALL_PATH')."/maintenance/commandLine.inc" |
| 6 | + : dirname( __FILE__ ) . '/../../maintenance/commandLine.inc' ); |
| 7 | + |
4 | 8 | $dir = dirname( __FILE__ ); |
5 | | -require( "$dir/../../maintenance/commandLine.inc" ); |
6 | 9 | |
7 | | -$dir = dirname( __FILE__ ); |
8 | 10 | $endl = ' |
9 | 11 | '; |
10 | 12 | |