if ($_SERVER['REQUEST_METHOD'] == "GET" && count ($_GET) == 0)\r
{\r
require (JIRAFEAU_ROOT . 'lib/template/header.php');\r
- check_errors ();\r
+ check_errors ($cfg);\r
if (has_error ())\r
{\r
show_errors ();\r
/* Lets use interface now. */\r
header('Content-Type: text; charset=utf-8');\r
\r
-check_errors ();\r
+check_errors ($cfg);\r
if (has_error ())\r
{\r
echo "Error";\r
$type = $_POST['type'];\r
\r
$key = '';\r
- if (isset ($_POST['password']))\r
- $key = $_POST['password'];\r
+ if (isset ($_POST['key']))\r
+ $key = $_POST['key'];\r
\r
$time = time ();\r
if (!isset ($_POST['time']))\r