Update get_file.php resolving issue with collections
This commit is contained in:
parent
13339d5f68
commit
d1d51dcde6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue