From: Ævar Arnfjörð Bjarmason Date: Thu, 31 Mar 2005 02:22:03 +0000 (+0000) Subject: Display something nicer looking when the wiki hasn't been configured. X-Git-Tag: 1.5.0alpha1~458 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/supprimer.php?a=commitdiff_plain;h=ea20bbcbf9d265f37f022c56764bad2e2329aa39;p=lhc%2Fweb%2Fwiklou.git Display something nicer looking when the wiki hasn't been configured. --- diff --git a/index.php b/index.php index f1d52cacab..6fc5565c76 100644 --- a/index.php +++ b/index.php @@ -1,5 +1,4 @@ config/LocalSettings.php to the parent directory.\n" ); - } else { - die( "You'll have to set the wiki up first!" ); - } + define( 'MEDIAWIKI', true ); + require_once( 'includes/DefaultSettings.php' ); # used for printing the version +?> + + + + MediaWiki <?php echo $wgVersion ?> + + + + + + The MediaWiki logo + +

MediaWiki

+
+ config/LocalSettings.php to the parent directory." ); + } else { + echo( "You'll have to set the wiki up first!" ); + } + ?> + +
+ + +