From 32b7e0a37da2396a8703beabdb9e28cd76fa8b3a Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Wed, 24 Apr 2013 08:14:22 +0000 Subject: [PATCH] * remove donation reminders on download-page as it's in the app now anyway --- website/download.php | 36 ++++-------------------------------- 1 file changed, 4 insertions(+), 32 deletions(-) diff --git a/website/download.php b/website/download.php index 59d5e865..53f2f3b8 100644 --- a/website/download.php +++ b/website/download.php @@ -2,7 +2,6 @@ $version = isset($_GET['version']) ? $_GET['version'] : '@{version}'; // default version is hard-coded via deployment script $arch = $_GET['arch']; $type = $_GET['type']; -$mode = $_GET['mode']; $folder = 'http://sourceforge.net/projects/filebot/files/filebot/FileBot_'.$version; $file = 'undefined'; @@ -21,36 +20,9 @@ if ($type == 'ipkg') if ($type == 'src') $file = 'filebot-'.$version.'-src.zip'; + $downloadPage = $folder.'/'.$file.'/download'; -if ($mode != 's') { - header('HTTP/1.1 302 Found'); - header('Location: '.$downloadPage); -} else { -?> - - - Download <? print($file) ?> from SourceForge.net - - - -
-
-
- - - - -
- -

- Shudder at the thought of how many hours and days of time FileBot has saved you? - You can show your appreciation and support for future development by donating. -

-
-
- - - -