ソースを参照

Should fix bug when migrating from 1.8.8.6 to 1.9.0 using single database in (1.8.8.6) see #5302

Julio Montoya 12 年 前
コミット
3fe0865b3f
1 ファイル変更7 行追加0 行削除
  1. 7 0
      main/install/index.php

+ 7 - 0
main/install/index.php

@@ -770,6 +770,13 @@ if (@$_POST['step2']) {
 		} elseif ($userPasswordCrypted == '0') {
 			$userPasswordCrypted = 'none';
 		}
+        
+        //Setting the single db form
+        if (in_array($_POST['old_version'], $update_from_version_6)) {            
+            $singleDbForm   	= get_config_param('singleDbEnabled');            
+        } else {
+            $singleDbForm   	= isset($_configuration['single_database']) ? $_configuration['single_database'] : false;            
+        }
 
 		Database::query("SET storage_engine = MYISAM;");