diff --git a/htdocs/install/fileconf.php b/htdocs/install/fileconf.php
index 346240423cd..fa727f3d477 100644
--- a/htdocs/install/fileconf.php
+++ b/htdocs/install/fileconf.php
@@ -115,15 +115,15 @@ exemples :
" name="main_data_dir">
|
diff --git a/htdocs/product/stats/fiche.php b/htdocs/product/stats/fiche.php
index e2c1f50ff1c..9ea7625ff02 100644
--- a/htdocs/product/stats/fiche.php
+++ b/htdocs/product/stats/fiche.php
@@ -65,15 +65,15 @@ if ($_GET["id"])
if ( $result )
{
- $dir = DOL_DOCUMENT_ROOT."/documents/produit/".$product->id;
+ $dir = DOL_DOCUMENT_ROOT."/document/produit/".$product->id;
if (! file_exists($dir))
{
umask(0);
- if(is_dir(DOL_DOCUMENT_ROOT."/documents/produits"))
- rmdir(DOL_DOCUMENT_ROOT."/documents/produits");
- //mkdir(DOL_DOCUMENT_ROOT."/documents");
- if(!file_exists(DOL_DOCUMENT_ROOT."/documents/produit"))
- mkdir(DOL_DOCUMENT_ROOT."/documents/produit");
+ if(is_dir(DOL_DOCUMENT_ROOT."/document/produits"))
+ rmdir(DOL_DOCUMENT_ROOT."/document/produits");
+ //mkdir(DOL_DOCUMENT_ROOT."/document");
+ if(!file_exists(DOL_DOCUMENT_ROOT."/document/produit"))
+ mkdir(DOL_DOCUMENT_ROOT."/document/produit");
if (! mkdir($dir, 0755))
{
$mesg = $langs->trans("ErrorCanNotCreateDir",$dir);
@@ -155,10 +155,10 @@ if ($_GET["id"])
print 'Nombre de pièces vendues | ';
print '';
- print ' ';
+ print ' ';
print ' | ';
- print ' ';
+ print ' ';
print ' |
';
if (file_exists($filenbvente) && filemtime($filenbvente))
@@ -185,7 +185,7 @@ if ($_GET["id"])
print '| - |
';
print '';
- print ' ';
+ print ' ';
print ' | TODO AUTRE GRAPHIQUE';
diff --git a/prepare-install.sh b/prepare-install.sh
index e9fe7b83d19..cdc4580f27e 100644
--- a/prepare-install.sh
+++ b/prepare-install.sh
@@ -3,8 +3,8 @@
#
# Prepare l'installation web de Dolibarr
#
-mkdir documents
-chown www-data documents
+mkdir document
+chown www-data document
mkdir htdocs/document
chown www-data htdocs/document
touch htdocs/conf/conf.php
|