Fix: Dir must be created in correct tree.
This commit is contained in:
parent
07cf3b532c
commit
83292ed3a7
@ -109,7 +109,8 @@ class EcmDirectory // extends CommonObject
|
||||
{
|
||||
$this->id = $this->db->last_insert_id(MAIN_DB_PREFIX."ecm_directories");
|
||||
|
||||
$result=create_exdir($conf->ecm->dir_output.'/'.$this->label);
|
||||
$dir=$conf->ecm->dir_output.'/'.$this->getRelativePath();
|
||||
$result=create_exdir($dir);
|
||||
|
||||
// Appel des triggers
|
||||
include_once(DOL_DOCUMENT_ROOT . "/interfaces.class.php");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user