1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-08 12:01:33 +00:00

experimental new plugin system

This commit is contained in:
Andrew Dolgov
2012-12-23 14:52:18 +04:00
parent 83e6e313be
commit 19c7350770
29 changed files with 204 additions and 164 deletions

View File

@@ -706,7 +706,7 @@ class RPC extends Handler_Protected {
print json_encode(array("status" => $status));
}
function buttonPlugin() {
/* function buttonPlugin() {
$pclass = "button_" . basename($_REQUEST['plugin']);
$method = $_REQUEST['plugin_method'];
@@ -716,7 +716,7 @@ class RPC extends Handler_Protected {
return $plugin->$method();
}
}
}
} */
function genHash() {
$hash = sha1(uniqid(rand(), true));