Avoid collections case for files download

This commit is contained in:
Jose Gonzalez 2020-03-05 14:52:04 +01:00
parent 9d3db50cf4
commit 01641c4584
1 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,10 @@ if ($file === '' || $hash === '' || $hash !== md5($file_raw.$config['dbpass']) |
$downloadable_file = $_SERVER['DOCUMENT_ROOT'].'/pandora_console/attachment/files_repo/'.$file;
break;
case 'enterprise/godmode/agentes/collections':
$downloadable_file = $_SERVER['DOCUMENT_ROOT'].'/pandora_console/attachment/collection/'.$file;
break;
default:
$downloadable_file = '';
// Do nothing