diff --git a/htdocs/install/etape1.php b/htdocs/install/etape1.php index 6eeaecf5517..10d650ccc65 100644 --- a/htdocs/install/etape1.php +++ b/htdocs/install/etape1.php @@ -23,6 +23,11 @@ * */ +/** + \file htdocs/install/etape1.php + \brief Génère le fichier conf.php avec les informations issues de l'étape précédente + \version $Revision$ +*/ include_once("./inc.php"); @@ -44,14 +49,14 @@ $main_data_dir=isset($_POST["main_data_dir"])?$_POST["main_data_dir"]:''; $main_data_dir=ereg_replace("htdocs","documents",$main_dir); // Quand ça sera géré ! -if (! $main_data_dir) { $main_data_dir="$main_dir/document"; } +if (! $main_data_dir) { $main_data_dir="$main_dir/documents"; } if ($_POST["action"] == "set") { umask(0); print '
| ';
+print "Répertoire d'installation";
-$docurl = 'documentation';
-
-if (!file_exists($conf))
-{
- print ' ';
- print "Le fichier conf.php n'existe pas reportez-vous à la ".$docurl." pour créer ce fichier ';
- $err++;
-}
-else
-{
-
- if (!is_writable("../conf/conf.php"))
- {
- print '"; - print ' ';
- print "Le fichier conf.php n'est pas accessible en écriture, vérifiez les droits sur celui-ci, reportez-vous à la ".$docurl." ';
- $err++;
- }
-}
-
-if ($err == 0)
-{
-?>
-
-
-"; - - print '
|