X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/e788e47fbd5f963e03de3b7eba41580f1f00dd0f..18c82ef56dce9c9eb30b0f2318024d320d878a47:/script.php?ds=inline diff --git a/script.php b/script.php index 8968aac..1d11050 100755 --- a/script.php +++ b/script.php @@ -30,19 +30,15 @@ require (JIRAFEAU_ROOT . 'lib/settings.php'); require (JIRAFEAU_ROOT . 'lib/functions.php'); require (JIRAFEAU_ROOT . 'lib/lang.php'); -if (file_exists (JIRAFEAU_ROOT . 'install.php')) -{ - header('Content-Type: text; charset=utf-8'); - echo "Error"; - exit; -} - global $script_langages; $script_langages = array ('bash' => 'Bash'); if ($_SERVER['REQUEST_METHOD'] == "GET" && count ($_GET) == 0) { require (JIRAFEAU_ROOT . 'lib/template/header.php'); + check_errors (); + if (has_error ()) + show_errors (); echo '
';