summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@status.net>2010-01-18 09:37:42 -0800
committerBrion Vibber <brion@status.net>2010-01-18 09:37:42 -0800
commitae9f2bf18725d72952a7f884dc9faebe92dc0541 (patch)
treeb1e9a1c4b096af37d1191b8e17eabda42854d4f4
parent3bf4056055fd5f278db8b8a46f4e524889483266 (diff)
add a quickie plugins/ dir readme mentioning how to add plugins, plus ref to wiki pages
-rw-r--r--plugins/README-plugins21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/README-plugins b/plugins/README-plugins
new file mode 100644
index 000000000..cdce7eb18
--- /dev/null
+++ b/plugins/README-plugins
@@ -0,0 +1,21 @@
+Several example plugins are included in the plugins/ directory. You
+can enable a plugin with the following line in config.php:
+
+ addPlugin('Example', array('param1' => 'value1',
+ 'param2' => 'value2'));
+
+This will look for and load files named 'ExamplePlugin.php' or
+'Example/ExamplePlugin.php' either in the plugins/ directory (for
+plugins that ship with StatusNet) or in the local/ directory (for
+plugins you write yourself or that you get from somewhere else) or
+local/plugins/.
+
+Plugins are documented in their own directories.
+
+
+Additional information on using and developing plugins can be found
+on the StatusNet wiki:
+
+http://status.net/wiki/Plugins
+http://status.net/wiki/Plugin_development
+