diff options
author | Heiko Adams <[email protected]> | 2013-04-02 13:38:42 +0200 |
---|---|---|
committer | Heiko Adams <[email protected]> | 2013-04-02 13:38:42 +0200 |
commit | 127585a05cba0f9d5d79ed5cf83394f04a7138d4 (patch) | |
tree | da04bcc463b90efa34c6763bd3fc7399a9dcff90 /plugins/instances/init.php | |
parent | 58f42816c56a8ea82f1fabe1ba83794005f1c7d6 (diff) | |
parent | 4b7726f0b44db36ad12c0a0918a9129c8cbb1caa (diff) |
Merge branch 'master' of https://github.com/HeikoAdams/Tiny-Tiny-RSS
Diffstat (limited to 'plugins/instances/init.php')
-rw-r--r-- | plugins/instances/init.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/instances/init.php b/plugins/instances/init.php index 6a7f7003a..7f822c7bf 100644 --- a/plugins/instances/init.php +++ b/plugins/instances/init.php @@ -442,5 +442,12 @@ class Instances extends Plugin implements IHandler { return; } + function genHash() { + $hash = sha1(uniqid(rand(), true)); + + print json_encode(array("hash" => $hash)); + } + + } ?> |