]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/README.md
Merge remote-tracking branch 'upstream/master' into social-master
[quix0rs-gnu-social.git] / plugins / README.md
1 Several example plugins are included in the plugins/ directory. You
2 can enable a plugin with the following line in config.php:
3
4 ```php
5     addPlugin('Example', array('param1' => 'value1',
6                                'param2' => 'value2'));
7 ```
8
9 This will look for and load files named 'ExamplePlugin.php' or
10 'Example/ExamplePlugin.php' either in the plugins/ directory (for
11 plugins that ship with StatusNet) or in the local/ directory (for
12 plugins you write yourself or that you get from somewhere else) or
13 local/plugins/.
14
15 Plugins are documented in their own directories.
16
17 Additional information on using and developing plugins can be found
18 at the following locations:
19
20 * [Plugin Development](doc/Plugin_development.md)
21 * [Community Plugins](http://www.skilledtests.com/wiki/GNU_social_plugins)
22