Skip to content

Commit

Permalink
FIX #12446
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 15, 2019
1 parent 1f5bea0 commit 3898db3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions htdocs/core/class/conf.class.php
Expand Up @@ -354,11 +354,11 @@ public function setValues($db)
$this->propal->dir_output=$rootfordata."/propale";
$this->propal->dir_temp=$rootfordata."/propale/temp";

// For backward compatibility
$this->banque->multidir_output = array($this->entity => $rootfordata."/bank");
$this->banque->multidir_temp = array($this->entity => $rootfordata."/bank/temp");
$this->banque->dir_output=$rootfordata."/bank";
$this->banque->dir_temp=$rootfordata."/bank/temp";
// For bank storage
$this->bank->multidir_output = array($this->entity => $rootfordata."/bank");
$this->bank->multidir_temp = array($this->entity => $rootfordata."/bank/temp");
$this->bank->dir_output = $rootfordata."/bank";
$this->bank->dir_temp = $rootfordata."/bank/temp";

// For medias storage
$this->medias->multidir_output = array($this->entity => $rootfordata."/medias");
Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/photos_resize.php
Expand Up @@ -218,7 +218,7 @@
{
$result = $object->fetch($id);
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 {
Expand Down

0 comments on commit 3898db3

Please sign in to comment.