From 90462b6a06d67c66d616dc2792f62895613613e0 Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Tue, 7 Apr 2015 13:36:45 +0200 Subject: [PATCH] remove option which shows download page This commit make Jirafeau to always have the download page link available. This option is maybe not really usefull anymore as the user already have a download link and a preview link after the upload. --- f.php | 6 +++--- index.php | 2 -- lib/config.original.php | 2 -- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/f.php b/f.php index 31b5d06..59717b9 100644 --- a/f.php +++ b/f.php @@ -152,7 +152,7 @@ if (!empty ($link['key'])) echo '&k=' . urlencode($crypt_key); ?>'; document.getElementById('submit_download').submit ();"/>


-

:

diff --git a/lib/config.original.php b/lib/config.original.php index 7eaa6c4..f731171 100644 --- a/lib/config.original.php +++ b/lib/config.original.php @@ -37,8 +37,6 @@ $cfg['lang'] = 'auto'; $cfg['style'] = 'courgette'; /* Propose a preview link if file type is previewable is set to true. */ $cfg['preview'] = true; -/* Download page: propose a link to a download page is set to true. */ -$cfg['download_page'] = true; /* Encryption feature. disable it by default. * By enabling it, file-level deduplication won't work. */ -- 2.34.1