Skip to content
Snippets Groups Projects
Unverified Commit c0385c20 authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

public: allow system plugins to expose public methods

parent 74d7f88f
No related branches found
No related tags found
No related merge requests found
......@@ -785,7 +785,7 @@ class Handler_Public extends Handler {
$plugin_name = basename(clean($_REQUEST["plugin"]));
$method = clean($_REQUEST["pmethod"]);
$host->load($plugin_name, PluginHost::KIND_USER, 0);
$host->load($plugin_name, PluginHost::KIND_ALL, 0);
//$host->load_data();
$plugin = $host->get_plugin($plugin_name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment