Merge "[FileJournal] Made getMasterDB() reuse the DB handle."
[lhc/web/wiklou.git] / serialized / serialize.php
index 78b7789..0e0ce80 100644 (file)
@@ -1,8 +1,9 @@
 <?php
 
 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] ) ) {
@@ -71,4 +72,4 @@ function unixLineEndings( $var ) {
        }
        return $var;
 }
-?>
+