X-Git-Url: https://git.p6c8.net/jirafeau/pcanterino.git/blobdiff_plain/ba336c598f3d55706b59f39975b6abc52c1995ec..refs/heads/master:/index.php diff --git a/index.php b/index.php index 82b3c8c..454bc52 100644 --- a/index.php +++ b/index.php @@ -136,7 +136,9 @@ elseif (true === jirafeau_challenge_upload_ip($cfg, get_ip_address($cfg))) { } elseif ($cfg['maximal_upload_size'] > 0) { echo t('2_BIG') . ', ' . t('FILE_LIM') . " " . $cfg['maximal_upload_size'] . " MB."; } -?>')"/> +?>'); control_selected_file_extension(, '.')"/>

@@ -158,7 +160,7 @@ if ($cfg['download_password_requirement'] === 'generated') { echo ''; echo '= 1024) { } else { echo '

'; } +if (!empty($cfg['disallowed_extensions'])) { + // only shown when the selected file matches, see control_selected_file_extension() + echo ''; +} ?>