diff --git a/index.php b/index.php index 554afc7..da4cc40 100644 --- a/index.php +++ b/index.php @@ -26,8 +26,11 @@ require (JIRAFEAU_ROOT . 'lib/template/header.php'); check_errors (); if (has_error ()) +{ show_errors (); - + require (JIRAFEAU_ROOT . 'lib/template/footer.php'); + exit; +} ?>
diff --git a/script.php b/script.php index 1d11050..6fd8626 100755 --- a/script.php +++ b/script.php @@ -38,7 +38,11 @@ if ($_SERVER['REQUEST_METHOD'] == "GET" && count ($_GET) == 0) require (JIRAFEAU_ROOT . 'lib/template/header.php'); check_errors (); if (has_error ()) + { show_errors (); + require (JIRAFEAU_ROOT . 'lib/template/footer.php'); + exit; + } echo '
';