prefix filename with a / or fopen cant find it :(
authorAntoine Musso <hashar@users.mediawiki.org>
Mon, 24 Apr 2006 19:11:16 +0000 (19:11 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Mon, 24 Apr 2006 19:11:16 +0000 (19:11 +0000)
maintenance/parserTests.php

index 758c5d6..1e3f8b6 100644 (file)
@@ -51,7 +51,7 @@ $tester =& new ParserTest();
 
 # Note: the command line setup changes the current working directory
 # to the parent, which is why we have to put the subdir here:
-$ok = $tester->runTestsFromFile( 'maintenance/parserTests.txt' );
+$ok = $tester->runTestsFromFile( $IP.'/maintenance/parserTests.txt' );
 
 exit ($ok ? 0 : -1);
 ?>