Fix: Dir for member files
This commit is contained in:
parent
1c39518d6f
commit
4846681a39
@ -385,6 +385,16 @@ if ($modulepart)
|
|||||||
$original_file=$conf->bittorrent->dir_output.'/'.$dir.'/'.$original_file;
|
$original_file=$conf->bittorrent->dir_output.'/'.$dir.'/'.$original_file;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Wrapping pour Foundation module
|
||||||
|
else if ($modulepart == 'member')
|
||||||
|
{
|
||||||
|
if ($user->rights->adherent->lire || preg_match('/^specimen/i',$original_file))
|
||||||
|
{
|
||||||
|
$accessallowed=1;
|
||||||
|
}
|
||||||
|
$original_file=$conf->adherent->dir_output.'/'.$original_file;
|
||||||
|
}
|
||||||
|
|
||||||
// Generic wrapping
|
// Generic wrapping
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user