From 929a44d7cac52f945362a55f22e40ef398e490a2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 6 Jun 2018 23:56:59 +0200 Subject: [PATCH] Fix dir of contract for multicompany --- htdocs/core/class/conf.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htdocs/core/class/conf.class.php b/htdocs/core/class/conf.class.php index 17d4c549d0d..3f67b186b0b 100644 --- a/htdocs/core/class/conf.class.php +++ b/htdocs/core/class/conf.class.php @@ -387,8 +387,12 @@ class Conf $this->productbatch->multidir_temp =array($this->entity => $rootfordata."/produitlot/temp"); // Module contrat + $this->contrat->multidir_output = array($this->entity => $rootfordata."/contract"); + $this->contrat->multidir_temp = array($this->entity => $rootfordata."/contract/temp"); + // For backward compatibility $this->contrat->dir_output=$rootfordata."/contract"; $this->contrat->dir_temp =$rootfordata."/contract/temp"; + // Module bank $this->bank->dir_output=$rootfordata."/bank"; $this->bank->dir_temp =$rootfordata."/bank/temp";