diff --git a/htdocs/html.formfile.class.php b/htdocs/html.formfile.class.php
index ea3deb5f48a..48c30cd1ed9 100644
--- a/htdocs/html.formfile.class.php
+++ b/htdocs/html.formfile.class.php
@@ -18,14 +18,14 @@
/**
* \file htdocs/html.formfile.class.php
- * \brief Fichier de la classe des fonctions pr�d�finie de composants html fichiers
+ * \brief Fichier de la classe des fonctions predefinie de composants html fichiers
* \version $Id$
*/
/**
* \class FormFile
- * \brief Classe permettant la g�n�ration de composants html fichiers
+ * \brief Classe permettant la generation de composants html fichiers
*/
class FormFile
{
@@ -35,7 +35,7 @@ class FormFile
/**
* \brief Constructeur
- * \param DB handler d'acc�s base de donn�e
+ * \param DB handler d'acces base de donnee
*/
function FormFile($DB)
{
diff --git a/htdocs/install/check.php b/htdocs/install/check.php
index 7902d8321f5..85f8db9200c 100644
--- a/htdocs/install/check.php
+++ b/htdocs/install/check.php
@@ -307,6 +307,11 @@ else
# If a database access is available, we set more variable
if ($ok)
{
+ if (empty($dolibarr_main_db_encryption)) $dolibarr_main_db_encryption=0;
+ $conf->db->dolibarr_main_db_encryption = $dolibarr_main_db_encryption;
+ if (empty($dolibarr_main_db_cryptkey)) $dolibarr_main_db_cryptkey=''; // TODO la cle devra ne doit pas etre stockee sur le serveur
+ $conf->db->dolibarr_main_db_cryptkey = $dolibarr_main_db_cryptkey;
+
$conf->setValues($db);
// Current version is $conf->global->MAIN_VERSION_LAST_UPGRADE
// Version to install is DOL_VERSION