Skip to content

Commit

Permalink
Debug v20
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Sep 12, 2024
1 parent a529630 commit de19578
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions htdocs/dav/fileserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,18 @@
$entity = (GETPOSTINT('entity') ? GETPOSTINT('entity') : (!empty($conf->entity) ? $conf->entity : 1));

// settings
$publicDir = $conf->dav->multidir_output[$entity].'/public';
$privateDir = $conf->dav->multidir_output[$entity].'/private';
$ecmDir = $conf->ecm->multidir_output[$entity];
$tmpDir = $conf->dav->multidir_output[$entity]; // We need root dir, not a dir that can be deleted
$publicDir = DOL_DATA_ROOT.'/dav/public';
$privateDir = DOL_DATA_ROOT.'/dav/private';
$ecmDir = DOL_DATA_ROOT.'/ecm';
$tmpDir = DOL_DATA_ROOT.'/ecm/temp';
if (isModEnabled('dav')) {
$publicDir = $conf->dav->multidir_output[$entity].'/public';
$privateDir = $conf->dav->multidir_output[$entity].'/private';
}
if (isModEnabled('ecm')) {
$ecmDir = $conf->ecm->multidir_output[$entity];
$tmpDir = $conf->ecm->multidir_output[$entity]; // We need root dir, not a dir that can be deleted, so we use multidir_output
}
//var_dump($tmpDir);mkdir($tmpDir);exit;


Expand Down

0 comments on commit de19578

Please sign in to comment.