Update get_file.php resolving issue with collections

This commit is contained in:
José González 2020-05-12 11:56:53 +02:00
parent 13339d5f68
commit d1d51dcde6
1 changed files with 6 additions and 0 deletions

View File

@ -57,6 +57,12 @@ if ($file === '' || $hash === '' || $hash !== md5($file_raw.$config['dbpass']) |
$downloadable_file = $_SERVER['DOCUMENT_ROOT'].'/pandora_console/attachment/collection/'.$file; $downloadable_file = $_SERVER['DOCUMENT_ROOT'].'/pandora_console/attachment/collection/'.$file;
break; break;
case 'advanced/collections':
if (is_metaconsole() === true) {
$downloadable_file = '/'.$file;
}
break;
default: default:
$downloadable_file = ''; $downloadable_file = '';
// Do nothing // Do nothing