Merge "fix spurious failure of TimestampTest" into Wikidata
[lhc/web/wiklou.git] / serialized / serialize.php
index 0eaf0b1..0e0ce80 100644 (file)
@@ -3,7 +3,7 @@
 if ( !defined( 'MEDIAWIKI' ) ) {
        $wgNoDBParam = true;
        $optionsWithArgs = array( 'o' );
-       require_once( dirname(__FILE__).'/../maintenance/commandLine.inc' );
+       require_once( __DIR__ .'/../maintenance/commandLine.inc' );
 
        $stderr = fopen( 'php://stderr', 'w' );
        if ( !isset( $args[0] ) ) {
@@ -72,4 +72,4 @@ function unixLineEndings( $var ) {
        }
        return $var;
 }
-?>
+