diff --git a/htdocs/install/etape1.php b/htdocs/install/etape1.php index f34cbe4620d..07f6882bd9f 100644 --- a/htdocs/install/etape1.php +++ b/htdocs/install/etape1.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2010 Laurent Destailleur + * Copyright (C) 2004-2011 Laurent Destailleur * Copyright (C) 2004 Benoit Mortier * Copyright (C) 2004 Sebastien Di Cintio * Copyright (C) 2005-2011 Regis Houssin @@ -205,10 +205,10 @@ if ($_POST["action"] == "set") // Force https $main_force_https = ( (GETPOST("main_force_https") && ( GETPOST("main_force_https") == "on" || GETPOST("main_force_https") == 1) ) ? '1' : '0'); - + // Use alternative directory $main_use_alt_dir = ( (GETPOST("main_use_alt_dir") && ( GETPOST("main_use_alt_dir") == "on" || GETPOST("main_use_alt_dir") == 1) ) ? '' : '#'); - + // Alternative root directory name $main_alt_dir_name = ( (GETPOST("main_alt_dir_name") && GETPOST("main_alt_dir_name") != '') ? GETPOST("main_alt_dir_name") : 'custom'); @@ -234,8 +234,15 @@ if ($_POST["action"] == "set") */ if (! $error) { + // We reload configuration file conf($dolibarr_main_document_root); + print ''; + print $langs->trans("ConfFileReload"); + print ''; + print ''.$langs->trans("OK").''; + + $userroot=isset($_POST["db_user_root"])?$_POST["db_user_root"]:""; $passroot=isset($_POST["db_pass_root"])?$_POST["db_pass_root"]:""; @@ -398,7 +405,7 @@ if ($_POST["action"] == "set") /* - * On test maintenant l'acces par le user admin dolibarr + * We testOn test maintenant l'acces par le user base dolibarr */ if (! $error) { @@ -606,6 +613,7 @@ function write_conf_file($conffile) print ""; print $langs->trans("SaveConfigurationFile"); + print ' '.$conffile.''; print ""; print $langs->trans("OK"); print ""; diff --git a/htdocs/install/fileconf.php b/htdocs/install/fileconf.php index c6f4366ffca..b8d384618b0 100644 --- a/htdocs/install/fileconf.php +++ b/htdocs/install/fileconf.php @@ -1,7 +1,7 @@ * Copyright (C) 2004 Eric Seigne - * Copyright (C) 2004-2010 Laurent Destailleur + * Copyright (C) 2004-2011 Laurent Destailleur * Copyright (C) 2004 Benoit Mortier * Copyright (C) 2004 Sebastien DiCintio * Copyright (C) 2005-2011 Regis Houssin @@ -122,8 +122,8 @@ if (! empty($force_install_message)) } ?> - '; + '; print ''; ?> @@ -285,7 +285,7 @@ if (! empty($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == 'on') { // Enabled if t if ($defaultype=='mysqli' && !function_exists('mysqli_connect')) $defaultype = 'mysql'; // Affiche ligne dans liste - $option.='