1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-01-11 05:48:01 -05:00

* use https URLs for all downloads

This commit is contained in:
Reinhard Pointner 2014-07-13 15:15:04 +00:00
parent d409b35895
commit 798cc5ecf2

View File

@ -3,11 +3,11 @@ $version = isset($_GET['version']) ? $_GET['version'] : '@{version}'; // default
$arch = $_GET['arch'];
$type = $_GET['type'];
$folder = 'http://sourceforge.net/projects/filebot/files/filebot/FileBot_'.$version;
$folder = 'https://sourceforge.net/projects/filebot/files/filebot/FileBot_'.$version;
$file = 'undefined';
if ($type == 'nsis') {
$folder = 'http://sourceforge.net/projects/filebot/files/filebot/HEAD';
$folder = 'https://sourceforge.net/projects/filebot/files/filebot/HEAD';
$file = 'FileBot-setup.exe';
} else if ($type == 'msi')
$file = 'FileBot_'.$version.'_'.$arch.'.msi';