mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
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…
x
Reference in New Issue
Block a user