From: Rotem Liss Date: Sat, 10 May 2008 16:29:19 +0000 (+0000) Subject: For compatibility (DefaultSettings.php currently crashes when LocalSettings.php doesn... X-Git-Tag: 1.31.0-rc.0~47730 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=2968d3969aa084afae299d876fa7bc367e4bd59d;p=lhc%2Fweb%2Fwiklou.git For compatibility (DefaultSettings.php currently crashes when LocalSettings.php doesn't exist). --- diff --git a/includes/WebStart.php b/includes/WebStart.php index dd02bd956e..1a6d1bebe2 100644 --- a/includes/WebStart.php +++ b/includes/WebStart.php @@ -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();