X-Git-Url: https://git.p6c8.net/jirafeau/jirafeau.git/blobdiff_plain/3529495482bde49c353d7338c81b8dc8fbae197a..98e21efcfe3da0ff0794d40f7682899cf5d8ec91:/index.php diff --git a/index.php b/index.php index 435e059..82b3c8c 100644 --- a/index.php +++ b/index.php @@ -25,7 +25,9 @@ require(JIRAFEAU_ROOT . 'lib/settings.php'); require(JIRAFEAU_ROOT . 'lib/functions.php'); require(JIRAFEAU_ROOT . 'lib/lang.php'); -if ($cfg['download_password_requirement'] === "generated") { +$download_pass = null; + +if ($cfg['download_password_requirement'] === 'generated') { $download_pass = jirafeau_gen_download_pass($cfg['download_password_gen_len'], $cfg['download_password_gen_chars']); } @@ -102,7 +104,7 @@ elseif (true === jirafeau_challenge_upload_ip($cfg, get_ip_address($cfg))) { ?> - +

@@ -154,14 +156,16 @@ if ($cfg['download_password_requirement'] === 'generated') { echo ''; } else { echo ''; - echo ''; + echo ' /> '; + echo ''; }?> @@ -204,6 +208,20 @@ if ($cfg['maximal_upload_size'] >= 1024) {