* If you use require_once "./$foo"; the script will only work from the
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Mon, 31 Oct 2005 11:47:48 +0000 (11:47 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Mon, 31 Oct 2005 11:47:48 +0000 (11:47 +0000)
  directory it's in

maintenance/dumpLinks.php

index cd455ba..03968f4 100644 (file)
@@ -30,7 +30,7 @@
  * @subpackage SpecialPage
  */
 
-require_once './commandLine.inc';
+require_once 'commandLine.inc';
 
 $dbr =& wfGetDB( DB_SLAVE );
 $result = $dbr->select( array( 'pagelinks', 'page' ),
@@ -60,4 +60,4 @@ while( $row = $dbr->fetchObject( $result ) ) {
 if( isset( $lastPage ) )
        print "\n";
 
-?>
\ No newline at end of file
+?>