api: load user plugins properly
This commit is contained in:
parent
e6905f7f87
commit
5d97019d5d
|
@ -57,6 +57,10 @@
|
||||||
|
|
||||||
if (!init_plugins()) return;
|
if (!init_plugins()) return;
|
||||||
|
|
||||||
|
if ($_SESSION["uid"]) {
|
||||||
|
load_user_plugins( $_SESSION["uid"]);
|
||||||
|
}
|
||||||
|
|
||||||
$method = strtolower($_REQUEST["op"]);
|
$method = strtolower($_REQUEST["op"]);
|
||||||
|
|
||||||
$handler = new API($_REQUEST);
|
$handler = new API($_REQUEST);
|
||||||
|
|
Loading…
Reference in New Issue