- . "spip_connect_db("
- . "'$adresse_db','$port','$login_db',"
- . "'$pass_db','$sup_db'"
- . ",'$server_db', '');\n";
-
- install_fichier_connexion(_DIR_CONNECT . _DECLARER_nom_connect . '.php', $conn);
- return array('message_ok'=>_T('install_connect_ok',array('connect' => "<strong>"._DECLARER_nom_connect."</strong>")));
-}
\ No newline at end of file
+ . install_connexion(
+ $adresse_db,
+ $port,
+ _DECLARER_LOGIN_DB,
+ _DECLARER_PASS_DB,
+ _DECLARER_CHOIX_DB,
+ _DECLARER_SERVEUR_DB,
+ '',
+ '',
+ ''
+ );
+
+ install_fichier_connexion(_DIR_CONNECT . _DECLARER_NOM_CONNECT . '.php', $conn);
+
+ return array(
+ 'message_ok' => _T('install_connect_ok', array('connect' => '<strong>' . _DECLARER_NOM_CONNECT . '</strong>'))
+ );
+}