$this->fatalError( "Fatal error: The file '$arg' does not exist!" );
}
}
- };
+ }
$count = count( $files );
$this->output( "Importing $count pages...\n" );
}
}
-$maintClass = "ImportTextFiles";
+$maintClass = ImportTextFiles::class;
require_once RUN_MAINTENANCE_IF_MAIN;