From: Jerome Jutteau Date: Tue, 7 Apr 2015 11:36:45 +0000 (+0200) Subject: remove option which shows download page X-Git-Tag: 1.1~124 X-Git-Url: https://git.p6c8.net/jirafeau_project.git/commitdiff_plain/90462b6a06d67c66d616dc2792f62895613613e0 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. --- 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. */