rearranging InitialiseMessages code
[lhc/web/wiklou.git] / maintenance / rebuildMessages.php
1 <?
2
3 if ( ! is_readable( "../LocalSettings.php" ) ) {
4 print "A copy of your installation's LocalSettings.php\n" .
5 "must exist in the source directory.\n";
6 exit();
7 }
8
9 $DP = "../includes";
10 include_once( "../LocalSettings.php" );
11 include_once( "../AdminSettings.php" );
12
13 include_once( "{$IP}/Setup.php" );
14 include_once( "./InitialiseMessages.inc" );
15 $wgTitle = Title::newFromText( "Rebuild messages script" );
16 set_time_limit(0);
17
18 initialiseMessages( true );
19
20 exit();
21
22 ?>