]>
Commit | Line | Data |
---|---|---|
19c73507 AD |
1 | <?php |
2 | class PluginHandler extends Handler_Protected { | |
3 | function csrf_ignore($method) { | |
4 | return true; | |
5 | } | |
6 | ||
7 | function catchall($method) { | |
8 | global $pluginhost; | |
9 | ||
10 | $plugin = $pluginhost->get_plugin($_REQUEST["plugin"]); | |
11 | ||
12 | if (method_exists($plugin, $method)) { | |
13 | $plugin->$method(); | |
14 | } | |
15 | } | |
16 | } | |
17 | ||
18 | ?> |