mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-24 12:31:29 +00:00
implement instance edit & save
This commit is contained in:
@@ -866,6 +866,13 @@
|
||||
return;
|
||||
}
|
||||
|
||||
if ($subop == "genHash") {
|
||||
$hash = sha1(uniqid(rand(), true));
|
||||
|
||||
print json_encode(array("hash" => $hash));
|
||||
return;
|
||||
}
|
||||
|
||||
print json_encode(array("error" => array("code" => 7,
|
||||
"message" => "Unknown method: $subop")));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user