From c830e3cba2db2535c3f6c167802bcc34136a48f0 Mon Sep 17 00:00:00 2001 From: Jorge Rincon Date: Fri, 19 Apr 2024 13:32:51 +0200 Subject: [PATCH] #13335 fixed collections download path --- pandora_console/include/get_file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/get_file.php b/pandora_console/include/get_file.php index 435ac8dded..174d43ede0 100644 --- a/pandora_console/include/get_file.php +++ b/pandora_console/include/get_file.php @@ -92,7 +92,7 @@ if (empty($file) === true || empty($hash) === true || $hash !== md5($file_raw.$c break; case $main_collections: - $downloadable_file = $_SERVER['DOCUMENT_ROOT'].'/pandora_console/attachment/collection/'.$file; + $downloadable_file = io_safe_output($config['attachment_store']).'/collection/'.$file; break; case 'godmode/setup/file_manager':