FIX #12446
This commit is contained in:
parent
1f5bea01f5
commit
3898db3956
@ -354,11 +354,11 @@ class Conf
|
|||||||
$this->propal->dir_output=$rootfordata."/propale";
|
$this->propal->dir_output=$rootfordata."/propale";
|
||||||
$this->propal->dir_temp=$rootfordata."/propale/temp";
|
$this->propal->dir_temp=$rootfordata."/propale/temp";
|
||||||
|
|
||||||
// For backward compatibility
|
// For bank storage
|
||||||
$this->banque->multidir_output = array($this->entity => $rootfordata."/bank");
|
$this->bank->multidir_output = array($this->entity => $rootfordata."/bank");
|
||||||
$this->banque->multidir_temp = array($this->entity => $rootfordata."/bank/temp");
|
$this->bank->multidir_temp = array($this->entity => $rootfordata."/bank/temp");
|
||||||
$this->banque->dir_output=$rootfordata."/bank";
|
$this->bank->dir_output = $rootfordata."/bank";
|
||||||
$this->banque->dir_temp=$rootfordata."/bank/temp";
|
$this->bank->dir_temp = $rootfordata."/bank/temp";
|
||||||
|
|
||||||
// For medias storage
|
// For medias storage
|
||||||
$this->medias->multidir_output = array($this->entity => $rootfordata."/medias");
|
$this->medias->multidir_output = array($this->entity => $rootfordata."/medias");
|
||||||
|
|||||||
@ -218,7 +218,7 @@ elseif ($modulepart == 'bank')
|
|||||||
{
|
{
|
||||||
$result = $object->fetch($id);
|
$result = $object->fetch($id);
|
||||||
if ($result <= 0) dol_print_error($db, 'Failed to load object');
|
if ($result <= 0) dol_print_error($db, 'Failed to load object');
|
||||||
$dir=$conf->banque->dir_output; // By default
|
$dir=$conf->bank->dir_output; // By default
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user