Ver Fonte

This fixes an issue with $db_persist undefined on step 3 of installer.

Signed-off-by: Adam Tallon <[email protected]>
Adam Tallon há 11 anos atrás
pai
commit
500da9b01a
1 ficheiros alterados com 1 adições e 1 exclusões
  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';