X-Git-Url: https://git.p6c8.net/jirafeau/jirafeau.git/blobdiff_plain/ea13ecd5272b130c028b76b91b2a05ea65fd565b..56aae3afa9286b92174f113fd39cfd0fb7b93b2e:/index.php?ds=sidebyside diff --git a/index.php b/index.php index 435e059..2b84013 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))) { ?> - +
@@ -161,7 +163,8 @@ if ($cfg['download_password_requirement'] === 'generated') { if ($cfg['download_password_requirement'] === 'required') { echo ' required'; } - echo '/>'; + echo ' /> '; + echo ''; }?>