mirror of
https://github.com/PurpleI2P/regi2p.git
synced 2025-02-06 02:34:14 +00:00
fix typo in site add code
Signed-off-by: r4sas <r4sas@i2pmail.org>
This commit is contained in:
parent
28aadecc6c
commit
9ab62ec9da
@ -10,6 +10,8 @@
|
||||
<p>
|
||||
<b>Info:</b><br>
|
||||
Hosts check is done every hour.<br>
|
||||
The problem with adding domains in the period from 08/28/22 to 09/15/22 has been fixed. Sorry for the inconvenience.<br> {# to be removed later #}
|
||||
<br>
|
||||
Supported commands:
|
||||
<ul>
|
||||
<li>adding of hosts for 2LD domains (example.i2p)</li>
|
||||
|
@ -90,7 +90,7 @@ if (isset($_POST["record"]) && !empty($_POST["record"])) {
|
||||
} else {
|
||||
$base32 = $util->b32from64($parsed["b64"]);
|
||||
|
||||
$STH = !$pdo->prepare('INSERT INTO `hosts` (`host`, `base64`, `base32`) VALUES (?, ?, ?)');
|
||||
$STH = $pdo->prepare('INSERT INTO `hosts` (`host`, `base64`, `base32`) VALUES (?, ?, ?)');
|
||||
if (!$STH->execute([$domain, $parsed["b64"], $base32])) {
|
||||
$result["error"] = "Error happened while inserting record to database. Please try again later.";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user