summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-07-24 15:51:49 +0300
committerAndrew Dolgov <[email protected]>2022-07-24 15:51:56 +0300
commitc0385c2098ccc831105c4fe83f3d30065ec58f91 (patch)
treed77969bea463e91a31f5b867fc0ebd6104c75663 /classes
parent74d7f88fae625f85a3d7677497605427d1d04d74 (diff)
public: allow system plugins to expose public methods
Diffstat (limited to 'classes')
-rwxr-xr-xclasses/handler/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index bea48b6b1..e1486e753 100755
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -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);