Skip to content
Snippets Groups Projects
Commit 83292ed3 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Dir must be created in correct tree.

parent 07cf3b53
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment