mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
.
This commit is contained in:
@@ -20,32 +20,17 @@
|
||||
*
|
||||
*/
|
||||
|
||||
//
|
||||
// Essaye de cr<63>er le fichier de conf
|
||||
//
|
||||
|
||||
$conf = "../conf/conf.php";
|
||||
|
||||
if (is_readable($conf))
|
||||
{
|
||||
include ($conf);
|
||||
}
|
||||
else
|
||||
{
|
||||
$fp = @fopen("$conf", "w");
|
||||
if($fp)
|
||||
{
|
||||
@fwrite($fp, '<?PHP');
|
||||
@fputs($fp,"\n");
|
||||
@fputs($fp,"?>");
|
||||
fclose($fp);
|
||||
}
|
||||
}
|
||||
|
||||
include("./inc.php");
|
||||
pHeader();
|
||||
|
||||
|
||||
$docurl = '<a href="doc/dolibarr-install.html">documentation</a>';
|
||||
|
||||
if (!file_exists("../conf/conf.php"))
|
||||
{
|
||||
@@ -116,12 +101,15 @@ exemples :
|
||||
<li>http://www.lafrere.net/dolibarr</li>
|
||||
</ul>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td colspan="3" align="center"><h2>Base de donn<6E>es<h2></td>
|
||||
</tr>
|
||||
|
||||
<?PHP
|
||||
if (!isset($dolibarr_main_db_host))
|
||||
{
|
||||
$dolibarr_main_db_host = "localhost";
|
||||
}
|
||||
?>
|
||||
<tr class="bg1">
|
||||
<td valign="top">Serveur</td><td valign="top"><input type="text" name="db_host" value="<?PHP print $dolibarr_main_db_host ?>"></td>
|
||||
<td><div class="comment">Nom du serveur de base de donn<6E>es, g<>n<EFBFBD>ralement 'localhost' quand le serveur est install<6C> sur la m<>me machine que le serveur web</div></td>
|
||||
|
||||
Reference in New Issue
Block a user