Selaa lähdekoodia

Merge pull request #369 from ziycon/InstallerFix

This fixes an issue with $db_persist undefined on step 3 of installer. #359
Oldiesmann 11 vuotta sitten
vanhempi
commit
db9bec96d0
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      other/install.php

+ 1 - 1
other/install.php

@@ -339,7 +339,7 @@ function load_lang_file()
 function load_database()
 {
 	global $db_prefix, $db_connection, $db_character_set, $sourcedir, $language;
-	global $smcFunc, $mbname, $scripturl, $boardurl, $modSettings, $db_type, $db_name, $db_user;
+	global $smcFunc, $mbname, $scripturl, $boardurl, $modSettings, $db_type, $db_name, $db_user, $db_persist;
 
 	if (empty($sourcedir))
 		$sourcedir = dirname(__FILE__) . '/Sources';