Ajout création de répertoires
This commit is contained in:
parent
7a876bf600
commit
8683056ff8
@ -58,7 +58,7 @@ class modComptabilite extends DolibarrModules
|
|||||||
$this->const_config = MAIN_MODULE_COMPTABILITE;
|
$this->const_config = MAIN_MODULE_COMPTABILITE;
|
||||||
|
|
||||||
// Config pages
|
// Config pages
|
||||||
$this->config_page_url = "compta.php";
|
$this->config_page_url = "compta.php";
|
||||||
|
|
||||||
// Dépendances
|
// Dépendances
|
||||||
$this->depends = array();
|
$this->depends = array();
|
||||||
@ -67,6 +67,8 @@ class modComptabilite extends DolibarrModules
|
|||||||
// Constantes
|
// Constantes
|
||||||
$this->const = array();
|
$this->const = array();
|
||||||
|
|
||||||
|
$this->dirs = array();
|
||||||
|
|
||||||
// Boites
|
// Boites
|
||||||
$this->boxes = array();
|
$this->boxes = array();
|
||||||
|
|
||||||
@ -93,6 +95,13 @@ class modComptabilite extends DolibarrModules
|
|||||||
"$isq (96,'Paramétrer la ventilation','compta','ventilation','param','r',0);",
|
"$isq (96,'Paramétrer la ventilation','compta','ventilation','param','r',0);",
|
||||||
"$isq (97,'Ventiler les lignes de facture','compta','ventiler',NULL,'r',0);"
|
"$isq (97,'Ventiler les lignes de facture','compta','ventiler',NULL,'r',0);"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// Dir
|
||||||
|
$this->dirs[0] = DOL_DATA_ROOT."/compta/";
|
||||||
|
$this->dirs[1] = DOL_DATA_ROOT."/compta/export/";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return $this->_init($sql);
|
return $this->_init($sql);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user