X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/78a1c41c40bb216e3879220fc544f8ae816d3c1b..129402901986004b50bf8bb338f681b0a0983800:/index.php diff --git a/index.php b/index.php index 63906c1..1a8b2bd 100644 --- a/index.php +++ b/index.php @@ -27,6 +27,7 @@ require(JIRAFEAU_ROOT . 'lib/lang.php'); check_errors($cfg); if (has_error()) { + require(JIRAFEAU_ROOT . 'lib/template/header.php'); show_errors(); require(JIRAFEAU_ROOT . 'lib/template/footer.php'); exit; @@ -75,7 +76,7 @@ elseif (true === jirafeau_challenge_upload_ip($cfg, get_ip_address($cfg))) {
' . t('FILE_LIM'); echo " " . number_format($cfg['maximal_upload_size'] / 1024, 2) . " GB.
"; - } else if ($cfg['maximal_upload_size'] > 0) { + } elseif ($cfg['maximal_upload_size'] > 0) { echo '' . t('FILE_LIM'); echo " " . $cfg['maximal_upload_size'] . " MB.
"; } else { - echo ''; + echo ''; } ?> @@ -256,19 +260,17 @@ else { ?> @@ -283,7 +285,6 @@ else {