Fix: Dir for member files

This commit is contained in:
Laurent Destailleur 2010-10-29 23:16:58 +00:00
parent 1c39518d6f
commit 4846681a39

View File

@ -385,6 +385,16 @@ if ($modulepart)
$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
else
{