| ';
diff --git a/htdocs/install/index.php b/htdocs/install/index.php
index aad2d188725..7e9c7bb6ee0 100644
--- a/htdocs/install/index.php
+++ b/htdocs/install/index.php
@@ -33,11 +33,11 @@ include_once("../html.form.class.php");
$err = 0;
-// Si fichier conf existe deja, on est pas sur une premiere install,
+// Si fichier conf existe deja et rempli, on est pas sur une premiere install,
// on ne passe donc pas par la page de choix de langue
-if (file_exists($conffile))
+if (file_exists($conffile) && isset($dolibarr_main_url_root))
{
- header("Location: check.php");
+ header("Location: check.php?testget=ok");
exit;
}
diff --git a/htdocs/langs/en_US/install.lang b/htdocs/langs/en_US/install.lang
index 77512f48c67..1d65e74dd15 100644
--- a/htdocs/langs/en_US/install.lang
+++ b/htdocs/langs/en_US/install.lang
@@ -9,6 +9,8 @@ ConfFileCouldBeCreated=Configuration file %s could be created.
ConfFileIsNotWritable=Configuration file %s is not writable. Check permissions. For first install, your web server must be granted to be able to write into this file during configuration process ("chmod 666" for example on Unix like OS).
ConfFileIsWritable=Configuration file %s is writable.
PHPSupportSessions=This PHP supports sessions.
+PHPSupportPOSTGETOk=This PHP supports variables POST and GET.
+PHPSupportPOSTGETKo=This PHP dose not support variables POST and/or GET.
ErrorPHPDoesNotSupportSessions=Your PHP installation does not support sessions. This feature is required to make Dolibarr working. Check your PHP setup.
ErrorDirDoesNotExists=Directory %s does not exists.
ErrorGoBackAndCorrectParameters=Go backward and correct wrong parameters.
diff --git a/htdocs/langs/fr_FR/install.lang b/htdocs/langs/fr_FR/install.lang
index d55a39e6a9a..732fafe25c7 100644
--- a/htdocs/langs/fr_FR/install.lang
+++ b/htdocs/langs/fr_FR/install.lang
@@ -9,6 +9,8 @@ ConfFileCouldBeCreated=Le fichier de configuration %s a pu
ConfFileIsNotWritable=Le fichier %s n'est pas modifiable. Pour une première installation, modifiez ses permissions. Le serveur Web doit avoir le droit d'écrire dans ce fichier le temps de la configuration ("chmod 666" par exemple sur un OS compatible Unix).
ConfFileIsWritable=Le fichier %s est modifiable.
PHPSupportSessions=Ce PHP supporte les sessions.
+PHPSupportPOSTGETOk=Ce PHP supporte les variables POST et GET.
+PHPSupportPOSTGETKo=Ce PHP ne supporte pas les variables POST et/ou GET.
ErrorPHPDoesNotSupportSessions=Votre installation PHP ne supporte pas les sessions. Cette fonctionnalité est requise pour faire fonctionner Dolibarr. Vérifiez votre configuration de PHP.
ErrorDirDoesNotExists=Le répertoire %s n'existe pas ou n'est pas accessible.
ErrorGoBackAndCorrectParameters=Revenez en arrière et corrigez les paramètres invalides.
|