summaryrefslogtreecommitdiff
path: root/maintenance/importTextFile.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/importTextFile.php')
-rw-r--r--maintenance/importTextFile.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/maintenance/importTextFile.php b/maintenance/importTextFile.php
index ec9ff001..adb50635 100644
--- a/maintenance/importTextFile.php
+++ b/maintenance/importTextFile.php
@@ -1,8 +1,6 @@
<?php
-
/**
- * Maintenance script allows creating or editing pages using
- * the contents of a text file
+ * Create or edit pages using the contents of a text file.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -26,7 +24,7 @@
$options = array( 'help', 'nooverwrite', 'norc' );
$optionsWithArgs = array( 'title', 'user', 'comment' );
-require_once( dirname( __FILE__ ) . '/commandLine.inc' );
+require_once( __DIR__ . '/commandLine.inc' );
echo( "Import Text File\n\n" );
if ( count( $args ) < 1 || isset( $options['help'] ) ) {