The last checkin broke the wiki on installations where TMP is not set
[lhc/web/wiklou.git] / maintenance / trivialCmdLine.php
1 <?php
2 require_once( "commandLine.inc" );
3 print "DB name: $wgDBname\n";
4 print "DB user: $wgDBuser\n";
5 print "DB password: $wgDBpassword\n";
6
7 $res = wfQuery( "SELECT MAX(cur_id) as m FROM cur", DB_READ );
8 $row = wfFetchObject( $res );
9 print "Max cur_id: {$row->m}\n";
10
11 ?>