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':