".__('Security error. Please contact the administrator.').''; } else { $downloadable_file = ''; $parse_all_queries = explode('&', parse_url($_SERVER['HTTP_REFERER'], PHP_URL_QUERY)); $parse_sec2_query = explode('=', $parse_all_queries[1]); if ($parse_sec2_query[0] === 'sec2') { switch ($parse_sec2_query[1]) { case 'godmode/setup/file_manager': $downloadable_file = $_SERVER['DOCUMENT_ROOT'].'/pandora_console/'.$file; break; case 'extensions/files_repo': $downloadable_file = $_SERVER['DOCUMENT_ROOT'].'/pandora_console/attachment/files_repo/'.$file; break; default: $downloadable_file = ''; // Do nothing break; } } if ($downloadable_file === '' || !file_exists($downloadable_file)) { echo "