split feedbrowser into a separate file

This commit is contained in:
Andrew Dolgov
2012-12-24 15:58:29 +04:00
parent f16116834e
commit 55c7f0923e
4 changed files with 116 additions and 111 deletions

View File

@@ -457,6 +457,8 @@ class RPC extends Handler_Protected {
$limit = db_escape_string($_REQUEST["limit"]);
$mode = (int) db_escape_string($_REQUEST["mode"]);
require_once "feedbrowser.php";
print json_encode(array("content" =>
make_feed_browser($this->link, $search, $limit, $mode),
"mode" => $mode));