diff --git a/htdocs/install/etape2.php b/htdocs/install/etape2.php index e74abdf59ff..361924cc14a 100644 --- a/htdocs/install/etape2.php +++ b/htdocs/install/etape2.php @@ -284,6 +284,12 @@ if ($_POST["action"] == "set") where name = 'SOCIETE_OUTPUTDIR';" ; $sql[4] = "DELETE from llx_const where name like '%_OUTPUT_URL';"; + + + $sql[5] = "UPDATE llx_const SET value='".$langs->defaultlang."', + type = 'chaine', + visible = 0 + where name = 'MAIN_LANG_DEFAULT';" ; $result = 0; diff --git a/htdocs/install/inc.php b/htdocs/install/inc.php index 6870ed37c18..4f053268250 100644 --- a/htdocs/install/inc.php +++ b/htdocs/install/inc.php @@ -54,7 +54,7 @@ function pHeader($soutitre,$next) print ''; print '
'; - print ''; + print ''; print '