From: Andrew Dolgov Date: Wed, 20 Jul 2016 10:52:22 +0000 (+0300) Subject: api: load user plugins properly X-Git-Tag: 16.8~18 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5d97019d5d30b259b84feba246eeb4ee08b42a99;p=tt-rss.git api: load user plugins properly --- diff --git a/api/index.php b/api/index.php index a8484ef0..b02a5d67 100644 --- a/api/index.php +++ b/api/index.php @@ -57,6 +57,10 @@ if (!init_plugins()) return; + if ($_SESSION["uid"]) { + load_user_plugins( $_SESSION["uid"]); + } + $method = strtolower($_REQUEST["op"]); $handler = new API($_REQUEST);