diff options
author | Andrew Dolgov <[email protected]> | 2016-07-20 13:52:22 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2016-07-20 13:52:22 +0300 |
commit | 5d97019d5d30b259b84feba246eeb4ee08b42a99 (patch) | |
tree | ce4d28a1dabb84a1e8c0c88880bbfcd377dc04d2 | |
parent | e6905f7f875db71c934693732b3e03f852268e2c (diff) |
api: load user plugins properly
-rw-r--r-- | api/index.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api/index.php b/api/index.php index a8484ef0e..b02a5d679 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); |