X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/631048856d53591fed1253a61f63ab07c3772443..794c20eff72e03a6af2fbdebb091560ed8b6f296:/script.php diff --git a/script.php b/script.php old mode 100755 new mode 100644 index 19f14a8..44fe449 --- 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"; @@ -546,8 +546,8 @@ elseif (isset ($_GET['init_async'])) $type = $_POST['type']; $key = ''; - if (isset ($_POST['password'])) - $key = $_POST['password']; + if (isset ($_POST['key'])) + $key = $_POST['key']; $time = time (); if (!isset ($_POST['time']))