diff options
author | Andrew Dolgov <[email protected]> | 2022-07-24 15:51:49 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-07-24 15:51:56 +0300 |
commit | c0385c2098ccc831105c4fe83f3d30065ec58f91 (patch) | |
tree | d77969bea463e91a31f5b867fc0ebd6104c75663 /classes/handler/public.php | |
parent | 74d7f88fae625f85a3d7677497605427d1d04d74 (diff) |
public: allow system plugins to expose public methods
Diffstat (limited to 'classes/handler/public.php')
-rwxr-xr-x | classes/handler/public.php | 2 |
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); |