public static download_file_redirect ( string $file_path, string $filename = '' ) | ||
$file_path | string | |
$filename | string |
public static function download_file_redirect($file_path, $filename = '')
{
header('Location: ' . $file_path);
exit;
}