api: load user plugins properly

master
Andrew Dolgov 8 years ago
parent e6905f7f87
commit 5d97019d5d

@ -57,6 +57,10 @@
if (!init_plugins()) return;
if ($_SESSION["uid"]) {
load_user_plugins( $_SESSION["uid"]);
}
$method = strtolower($_REQUEST["op"]);
$handler = new API($_REQUEST);

Loading…
Cancel
Save