From: Ævar Arnfjörð Bjarmason Date: Mon, 31 Oct 2005 11:47:48 +0000 (+0000) Subject: * If you use require_once "./$foo"; the script will only work from the X-Git-Tag: 1.6.0~1260 X-Git-Url: http://git.cyclocoop.org/geomaker.php?a=commitdiff_plain;h=eb01d8f01590105aa5c30727c7db66ca424a894c;p=lhc%2Fweb%2Fwiklou.git * If you use require_once "./$foo"; the script will only work from the directory it's in --- diff --git a/maintenance/dumpLinks.php b/maintenance/dumpLinks.php index cd455ba7ac..03968f4ba5 100644 --- a/maintenance/dumpLinks.php +++ b/maintenance/dumpLinks.php @@ -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 +?>