else $env->message("merci de choisir un mot de passe pour l'administrateur");
if(!$env->messages()){
$sgbds[$current_sgbd] = null;
- $impl = new $current_sgbd($params);
+ $impl = new $current_sgbd($env, $params);
$sgbds[$current_sgbd] = $impl;
- $data->set_sgbd(
- new mw_sgbd(
- $sgbds[$current_sgbd],
- $env
- )
- );
+ $data->set_sgbd($sgbds[$current_sgbd]);
$data->load_modules($env->path("mw_dir")."app/", "data/modules/".($current_sgbd == "mw_xml" ? "xml" : "sql")."/");
if(
$current_sgbd == "mw_xml"