$oldCwd = getcwd();
$optionsWithArgs = array( "o" );
-include_once( "commandLine.inc" );
-include_once( "dumpInterwiki.inc" );
+require( "commandLine.inc" );
+require( "dumpInterwiki.inc" );
chdir( $oldCwd );
# Output
*/
/** This is a command line script*/
-include('commandLine.inc');
-
+require('commandLine.inc');
# GLOBALS
$doc = $IP . '/docs/hooks.txt';
printArray('unclear hook calls', $bad );
if ( count( $todo ) == 0 && count( $deprecated ) == 0 && count( $bad ) == 0 )
- echo "Looks good!\n";
\ No newline at end of file
+ echo "Looks good!\n";
/////////////////////////// COMMAND LINE HELP ////////////////////////////////////
// This is a command line script, load MediaWiki env (gives command line options);
-include('commandLine.inc');
+require('commandLine.inc');
// if the user asked for an explanation of command line options.
if ( isset( $options["help"] ) ) {
$oldCwd = getcwd();
$optionsWithArgs = array( "d" );
-include_once( "commandLine.inc" );
-include_once( "rebuildInterwiki.inc" );
+require( "commandLine.inc" );
+require( "rebuildInterwiki.inc" );
chdir( $oldCwd );
# Output