@ini_set( 'allow_url_fopen', 0 ); # For security...
if( !file_exists( 'LocalSettings.php' ) ) {
define( 'MEDIAWIKI', true );
+ $IP = "." ;
+ require_once( './includes/Defines.php' );
require_once( 'includes/DefaultSettings.php' ); # used for printing the version
?>
<!DOCTYPE html PUBLIC "-//W3C/DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<h1>MediaWiki <?php echo $wgVersion ?></h1>
<div class='error'>
- <?
+ <?php
if ( file_exists( 'config/LocalSettings.php' ) ) {
echo( "To complete the installation, move <tt>config/LocalSettings.php</tt> to the parent directory." );
} else {
</div>
</body>
</html>
-<?
+<?php
die();
}