From eb01d8f01590105aa5c30727c7db66ca424a894c Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Mon, 31 Oct 2005 11:47:48 +0000 Subject: [PATCH] * If you use require_once "./$foo"; the script will only work from the directory it's in --- maintenance/dumpLinks.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +?> -- 2.20.1