For compatibility (DefaultSettings.php currently crashes when LocalSettings.php doesn...
authorRotem Liss <rotem@users.mediawiki.org>
Sat, 10 May 2008 16:29:19 +0000 (16:29 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Sat, 10 May 2008 16:29:19 +0000 (16:29 +0000)
includes/WebStart.php

index dd02bd9..1a6d1be 100644 (file)
@@ -77,6 +77,7 @@ require_once( "$preIP/includes/Defines.php" );
 # the wiki installer need to be launched or the generated file moved from
 # ./config/ to ./
 if( !file_exists( "$preIP/LocalSettings.php" ) ) {
+       $IP = $preIP;
        require_once( "$preIP/includes/DefaultSettings.php" ); # used for printing the version
        require_once( "$preIP/includes/templates/NoLocalSettings.php" );
        die();