* @ingroup Maintenance
*/
-require_once( dirname( __FILE__ ) . '/Maintenance.php' );
+require_once( __DIR__ . '/Maintenance.php' );
/**
* Maintenance script to check syntax of all PHP files in MediaWiki.
$maintClass = "CheckSyntax";
require_once( RUN_MAINTENANCE_IF_MAIN );
-