X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/d84c94d93c6b5b446c7bc6e359bb8fc276107dff..18c82ef56dce9c9eb30b0f2318024d320d878a47:/script.php 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 '
';