projects
/
tt-rss.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6905f7
)
api: load user plugins properly
author
Andrew Dolgov
<noreply@fakecake.org>
Wed, 20 Jul 2016 10:52:22 +0000
(13:52 +0300)
committer
Andrew Dolgov
<noreply@fakecake.org>
Wed, 20 Jul 2016 10:52:22 +0000
(13:52 +0300)
api/index.php
patch
|
blob
|
history
diff --git
a/api/index.php
b/api/index.php
index a8484ef0e562c8ae3adc81209c6249cf9466099b..b02a5d6794d3e4294bf72321ecf1e4ab2b6de22e 100644
(file)
--- 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);