corrige le bug de creation des repertoire lors de l'installation

This commit is contained in:
opensides 2004-06-09 21:21:24 +00:00
parent 30e7349ce9
commit d11207cbcb

View File

@ -109,6 +109,7 @@ if ($_POST["action"] == "set")
if ($error == 0) if ($error == 0)
{ {
/*
$dir[0] = "$datadir/facture"; $dir[0] = "$datadir/facture";
$dir[1] = "$datadir/propale"; $dir[1] = "$datadir/propale";
$dir[2] = "$datadir/societe"; $dir[2] = "$datadir/societe";
@ -116,6 +117,14 @@ if ($_POST["action"] == "set")
$dir[4] = "$datadir/produit"; $dir[4] = "$datadir/produit";
$dir[5] = "$datadir/rapport"; $dir[5] = "$datadir/rapport";
$dir[6] = "$datadir/images"; $dir[6] = "$datadir/images";
*/
$dir[0] = "$main_data_dir/facture";
$dir[1] = "$main_data_dir/propale";
$dir[2] = "$main_data_dir/societe";
$dir[3] = "$main_data_dir/ficheinter";
$dir[4] = "$main_data_dir/produit";
$dir[5] = "$main_data_dir/rapport";
$dir[6] = "$main_data_dir/images";
if (! is_dir($main_dir)) if (! is_dir($main_dir))
{ {