X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/631048856d53591fed1253a61f63ab07c3772443..19047d45c1ce27cd5f3e4c4d3a1dfdd384bf8f0d:/script.php?ds=inline diff --git a/script.php b/script.php old mode 100755 new mode 100644 index 19f14a8..3185de7 --- 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";