X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/6b52bb03e76ab87c5dac34d986d1c5515cdba26d..d8192d6d361c2d707bac679facce23c7167cb93b:/script.php diff --git a/script.php b/script.php index 19f14a8..3185de7 100755 --- a/script.php +++ b/script.php @@ -43,7 +43,7 @@ require (JIRAFEAU_ROOT . 'lib/lang.php'); if ($_SERVER['REQUEST_METHOD'] == "GET" && count ($_GET) == 0) { require (JIRAFEAU_ROOT . 'lib/template/header.php'); - check_errors (); + check_errors ($cfg); if (has_error ()) { show_errors (); @@ -252,7 +252,7 @@ if ($_SERVER['REQUEST_METHOD'] == "GET" && count ($_GET) == 0) /* Lets use interface now. */ header('Content-Type: text; charset=utf-8'); -check_errors (); +check_errors ($cfg); if (has_error ()) { echo "Error";