For compatibility (DefaultSettings.php currently crashes when LocalSettings.php doesn't exist).
This commit is contained in:
parent
3ad925a207
commit
2968d3969a
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue